If Activity


The If activity models a decision and allows a workflow to implement conditional logic. It evaluates a condition and determines the path the workflow will follow depending on whether the condition was true or false.


You may need to make a decision and present different information to the user. If you perform a search you may then need to present different messages depending on the number of search results. If there are no results you should notify the user via an Alert activity, otherwise you should present the results in a list.




Type: Boolean

The condition to evaluate.

If the condition is True the workflow follows the True branch, otherwise it follows the False branch.



Type: Boolean

The result of the condition.

This output is not typically used since a workflow author can use the True and False branches from the If activity to implement the desired business logic.


For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.