Service Studio 6.0 Help
About Conditional Start Tool
When designing the process flow (Collection of elements that graphically implement the behavior of a process. You can have flow control elements (Start, Decision, ..., End), activity elements, and you can invoke other processes. Elements in an process flow are linked through Connectors.) of your process (Implements a business process of your organization. A process behavior is defined by its process flow. A process can handle input and output parameters.), you can start a flow when an event occurs in an entity record. This behavior is implemented through the Conditional Start process activity which you can drag onto your canvas from the Process Flow Toolbox.
The Conditional Start process activity starts the execution of its flow either when a record creation or a record update event occurs. However, to ensure that all new incoming events are handled, the Conditional Start does not end its execution after handling an event. For that, every time an event occurs it starts a new execution of the flow and returns itself to listen for the new incoming events.
All Conditional Start activities in the process flow end their execution when the process execution ends. See more about how to end a process execution.
A Conditional Start process activity can have input parameters, output parameters, and callback actions.
The events handled by a Conditional Start are the ones originated by any of the following entity actions: Create<Entity> or Update<Entity>.
Setting Conditions for the Entity Action
Once you select an Entity Action for the On Start property, a list of entity attributes is displayed for you to set the condition for which the conditional start is executed. The listed attributes are the primary key and reference attributes.
Adding Dependency Connectors
In some cases you may want the Conditional Start to be executed only after one or more process activities have finished their execution, that is, the Conditional Start execution is dependent on the execution of other process activities. To implement this behavior simply add a connector from each of the process activities on which the Conditional Start depends to the Conditional Start itself.
This kind of connector is represented as the green dotted connector shown in the image below:
Using Conditional Start Activity References
Service Studio provides you with mechanisms to access Conditional Start process activities among eSpaces. You can expose your Conditional Start process activities to other eSpaces or use Conditional Start process activities defined in another eSpace.
Conditional Start Properties | About Other Start Tools | Expose a Process Activity | Use Process Activity References | Process Flow Toolbox