If Activity

Description:

Models an If-Then-Else condition.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.NativeActivity
      System.Activities.Statements.If

Function:

Evaluates a given condition and executes one of two sets of activities depending on whether the condition evaluates to True or False.

In a Workflow:

The If activity could be used to decide if a form should be opened or not based on a prompted user response.

Properties:

Name

Description

Condition

A logical expression that evaluates to either True or False.

Display Name

If

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

Then

A container for an activity that runs if the Condition evaluates to True. If you want more than one activity in the Body, use a composite activity such as a Sequence or Parallel activity.

Else

A container for an activity that runs if the Condition evaluates to False. If you want more than one activity in the Body, use a composite activity such as a Sequence or Parallel activity.

Version Information:

Supported from: Geocortex Essentials 3.0.

For more information:

https://msdn.microsoft.com/en-us/library/system.activities.statements.if.aspx