Navigation:  User Guide for PaperSave Application System > PaperSave Configuration > PaperSave Settings > Workflows > Workflow 2.0 > Using Steps and Activities >

WhileActivity

Previous pageReturn to chapter overviewNext page
Show/Hide Hidden Text

While Activity is used to execute a action in a loop by writing script accordingly. Let us understand While Activity using below example:

 

1. Drag and Drop WhileActivity within an Event Activity, for example: CustomEventActivity as below:

 

while activity-1.zoom75
Click on image to magnify/shrink

 

2. Click on WhileActivity and you should see Properties section in the left panel of the screen as displayed below. You have the ability to define condition using two ways; Code Condition and Declarative Rule Condition.

 

While Activity-2

 

Declarative Rule Condition:

 

3. Select Declarative Rule Condition and expand the Condition tree as displayed below. Give the Condition Name in the available text-box.

 

While Activity-3

 

4. Click on Ellipses icon for Expression, to define Condition. Rule Condition Editor window will open as below. You can define the condition as required and click on OK button to save the condition.

 

While Activity-5