This help site is based on the available in-product assistance as of December 2016. Please note that this site is provided as a convenience and it does not go through rigorous layout testing.


Back Forward Home Print
Nintex Workflow 2010 > Workflow Actions
Run If

This workflow action sets a condition to dictate the logic that is processed at runtime. E.g. the workflow actions contained within the Run If action will only execute if the condition evaluates to true.

Note: Any actions within the Run if action will run in the same context that the Run if action is configured to.  

This action is similar to the Set a condition action.

To use the workflow action:

  • Locate the action in Workflow Actions Toolbox (located on the left hand-side);
    • Click on the Category listings to reveal the actions; OR
    • Search for the action using a keyword.
  • Select the action, drag it onto the design canvas and drop it onto a design pearl.

Alternatively

  • Left-clicking the pearl, mouse-over Insert Action and then the Categories to reveal the actions, click the required action from the list.

To change the settings used by the action:

  • On the action’s title click the down arrow to activate a drop-down
  • Select Configure; OR
  • Double-click the action's icon.

For more information on the other options in the drop-down, please refer to the Getting started with the Nintex Workflow designer.

 

Action Settings 

Condition

There are twelve types of conditions that can be used here. These are:

  • If current item field equals value

This condition type evaluates if an individual field of the current item matches or compares to a certain value/column.

  • If any value equals value

This condition allows the use of two fields, two workflow variables or two lookups to compare at runtime.

  • Title field contains keywords

This condition allows a comparison to be performed that determines if the item's title contains certain specific words.

  • Modified in a specific date span

This condition evaluates to true if the current item is modified between two specified dates.

  • Modified by a specific person

This condition evaluates to true if the item has been modified by a specific person. The username is case sensitive.

Once the name has been entered click Check name button to validate user.

  • Person is a valid SharePoint user

This condition checks if the specified user is a member of the SharePoint site.

  • Created in a specifc date span

This condition checks if the item was created between the specified dates.

If manually entering information, ensure that the date format matches that used in the SharePoint environment.

  • Created by a specific person

This condition checks if an item was created by a specific user.

Once the name has been entered click the Check name button to validate user.

  • The file type is a specific type

This condition checks if the file type extension of the current item is of the specified type.

  • The file type in a specific range kilobytes

This condition checks if the file size of a document is between the specified sizes, in kilobytes.

The following two conditions are available when running the workflow action as the workflow owner (impersonation): 
  • Check list item permissions

This condition checks if the permissions of a specified user matches or is higher than the specified permission level provided for an item in a list. It does not check that the users have specific permission levels. A user can be a single user, multiple users or a group. For the condition to evaluate as true, the user/s must have at least the permissions that the permission levels provide.

  • Check list item permissions levels

This condition checks if permission levels of a specified user matches or is higher than the permission levels for an item within this list. A user can be a single user or multiple users but cannot be a group for this condition. For the condition to evaluate as true, the users must have the permission levels specified in the condition.

There are many operators that can be used within this condition, e.g. equals, not equals to, greater than, less than, is empty, contains etc. Enter data manually into the text box or use lookups to dynamically build the values at run time.  

Add Conditions

Multiple conditions can be constructed by using the Add condition option.

Specify And or Or between the condition statements.

Conditions are evaluated in order, from first to last condition (top to bottom). For example, the first two conditions are evaluated, and then that result is evaluated against the next condition. This pattern continues until a final result is reached. ​

Related Topics