Triggering process flows in sequence

Process flows, which are bound with any event, are executed at every polling frequency irrespective of the fact that the process flow(s) triggered at the previous polling frequency still may be running.
In addition, there could be possibility that at each polling frequency, multiple process flows are executed. For Example, a Process flow may be bonded with a File Event, and at each polling frequency multiple files fulfill the trigger criteria. In this case for each file the bound process flow will be executed concurrently.

An advanced property Trigger Process Flows in Sequence is provided in all events to execute the process flows in sequence. You can check this checkbox, to allow process flows to be triggered in sequence. For Example if a Process Flow is bound with a File Event, and at each polling frequency, suppose five files are fulfilling the trigger criteria. In this case the process flow is executed five times or you can say five instance of this process flow are executed in parallel.

When Trigger Process Flows in Sequence is checked, then the process flow is executed five times, but in sequence. Means, when the execution of first instance will be completed, then only the execution of second instance will start. Now in case the next polling frequency comes before the completion of all the instances of the process flow triggered at the previous polling, then the event is not fired and treated as misfired event. Once the execution of all the instances of the process flow is completed, then the misfired event is fired. This should be noted that even if an event goes misfired multiple times, only one misfired event is fired at the completion of the previous execution. 

Enabling 'Trigger in Sequence' property

The process of enabling the Trigger in Sequence property of an event, for example, file event, is explained below.  

  1. Click Configure > EVENTS > File.

  2. On the File Event manage page:

    1. Click More menu and then click Edit for the specific event you want to edit. 

    2. On the Edit File Event page, expand the Advanced Properties.



    3. Select the Trigger in Sequence check box. 

    4. Click Save.Â