30.01.2015 Views

Designing processes - EMC Community Network

Designing processes - EMC Community Network

Designing processes - EMC Community Network

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Designing</strong> the Process<br />

The transition conditions are expressed as:<br />

The use of Join in the first two conditions ensures that each option leads to two activities being<br />

selected. The trigger option at the Join activity looks like this:<br />

Using sub-<strong>processes</strong><br />

Process Builder enables you to create in-line sub-<strong>processes</strong>. Using sub-<strong>processes</strong> can improve your<br />

ability to communicate the structure and the business meaning of a process template. A large or<br />

complicated process can become difficult to organize visually when there are many activities required<br />

to complete an entire workflow. To simplify the layout of a process, group related activities into<br />

sub-<strong>processes</strong> that collectively represent a business process.<br />

In Process Builder, sub-<strong>processes</strong> can be expanded to view the individual activities or collapsed to<br />

create a more simplified overview of a process. The process contains activities that are related in some<br />

way and are grouped into a container for ease of administration. This can be useful when grouping a<br />

set of activities that collectively represents a business function or a logical step in a process. Activities<br />

that share the same process data can also be grouped into a sub-process.<br />

It is also possible for one process to invoke another process. In this case the invoking process is called<br />

the parent and the invoked process is called the child. If you want to build a process that invokes one<br />

or more child <strong>processes</strong>, use the Invoke Process activity template. If you need the child process to post<br />

events to the parent process, then use the Post Event to Parent Process.<br />

Understanding message correlation<br />

The basic idea of correlation is simple. Processes can send messages and receive messages from<br />

external systems and services. A process instance can, for example, send a Java Message Service<br />

(JMS) message (request) to an external system. This message is sent to the external system by the<br />

Process Integrator. After sending the request message, the process instance enters a wait state. When<br />

the external system completes the request, it sends its response message back to the Process Integrator.<br />

However, there can be many process instances in flight at the same time, each waiting for a response<br />

to its own request. Therefore, it is necessary to match the response to the correct requesting process<br />

36 <strong>EMC</strong> Documentum xCelerated Composition Platform Version 1.6 Best Practices Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!