Kentico CMS 7.0 Developer's Guide

Defining if/else conditions

Defining if/else conditions

Previous topic Next topic Mail us feedback on this topic!  

Defining if/else conditions

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

Advanced workflow allows you to define conditions based on which the workflow process can be split into branches.

 

Adding a condition

 

1. Drag and drop the Condition step onto the grid.

 

2. Edit the step.

 

The Workflow step properties dialog opens.

 

3. Enter a macro condition into the Condition field. The condition must evaluate as true or false.

 

4. Click Save Save and close the dialog.

 

5. Connect a step that will precede this step and connect both source points with other steps.

 

The following image shows an example result.

 

devguide_clip2152