A Start Event node denotes the beginning of a process in a process model, and is used to configure how a process is launched. A new Process Modeler Canvas always contains a Start Event and an End Event. (For Quick Tasks, any nodes that do not have an incoming flow are automatically triggered when the process is started.)
See also the Receive Message Event help topic.
For more information on configuring Timer triggers, see the Timer help topic.
Configure Start Eventdialog box is displayed.
To add a Timer trigger to a Start Event:
Configure Start Eventdialog box is displayed.
Triggerstab allows you to add different triggering events.
Start Event Triggerssection. To configure the timer event, click the Configure link. The
Edit Timer Eventdialog box is displayed.
The start of a process can be delayed for a configurable time period, or it may be delayed until a particular date has been reached. In either case, the time period for which the flow is delayed is relative to the time at which the underlying process model was published.
To delay the process flow for a specific time period, select the radio button that corresponds to Delay for …
Once this option is selected, specify a numeric value through the provided text field. The text field can be populated by entering a value, or by using the expression editor to come up with an expression that returns a numeric value. After specifying a value, select one of the following units; Minute(s), Hour(s), Day(s), and Month(s). By default, the
Minute(s) option is selected.
Apart from delaying the start of a process for a specified time period, you can also delay it until a specific date. Select Delay until the date specified by this expression:
A timer trigger can also be configured to execute periodically. This option can be enabled by selecting the check box that corresponds to
Timer Recurrence. Once this option is selected, select a radio button that corresponds to one of the options shown below:
Daily: Allows you to start a process either on a daily basis or periodically at a certain time (in a certain timezone)
Weekly: Allows you to start a process either on a weekly basis or periodically at a certain time (in a certain timezone)
Monthly: Allows you to start a process either on a monthly basis or periodically at a certain time (in a certain timezone)
Yearly: Allows you to start a process either on a yearly basis or periodically at a certain time (in a certain timezone)
At an interval: Allows you to start a process after a specified time period that can either be specified in minutes or hours. Only integer values must be supplied in the text fields.
The time zone used in a recurring event can be configured in the process model properties, and is indicated by the timezone process property (pp!timezone).
Recurring schedules continue executing once the process model has been launched once.
To disable a recurring start event trigger, republish the process model without the recurring schedule. Only the most recently published process model will trigger new processes to start.
Conditions that govern the execution of the event may be added, by clicking the New Condition or New Expression buttons. Creating a new condition allows you to evaluate a process variable against another value that can either be populated through the expression editor, or by entering a value in the provided text area. Creating a new expression, on the other hand, allows you to create to create a complex expression using the expression editor that should always evaluate to true or false.
In order for an event to execute, all conditions created under this section should evaluate to true. Therefore, once a process model has been published, all conditions specified within a trigger are continually evaluated until all conditions evaluate to true, upon which the trigger is activated. For example, if a timer trigger is used within a start event to delay the start of process flow by 10 minutes, the 10 minutes only begins when all conditions specified beneath this section evaluate to true.
To create a new condition, click New Condition. This creates a new row that consists of three different drop-down menus.
Using the first drop-down menu, select from the list of process variables that appear. Next, you will be required to choose an operator that is used to evaluate the condition. The table below lists the different operators that are made available for selection:
|<>||not equal to|
|<=||less than or equal to|
|>=||greater than or equal to|
Once an operator has been selected, specify the value used to evaluate against the selected process variable. This value can be specified by entering a value in the designated text field, or by using the Expression Editor The expression editor opens in a new window.
To create a new expression, click New Expression.
This creates a new row, from which the expression editor can be accessed. All expressions that are created as a rule should always evaluate to true or false.
Creating expressions to determine the conditions under which an event executes can result in reduced application performance. We recommend creating conditions instead of expressions when configuring
A process may need to be started when any one of many conditions evaluate to true. In such a scenario, multiple triggers can be added to a Start Event. The triggers that can be added to a Start event are Receive Message, and Timer. When more than one trigger is added to a start event, the icon representing the start event on the designer canvas changes in the following manner.
Adding multiple triggers to a start event can be useful when multiple messages are targeted at a process model and the reception of any of these messages require a process to be started.
The triggers configured within a start event are automatically activated when the process model is published. When all conditions imposed by any of the triggers evaluate to true, a new process is started.
On This Page