Workflow Diagram control

The Workflow Diagram control can be used to display a Nintex workflow on a form.

Note: The Workflow Diagram control is visible only when Nintex Workflow has been installed and configured.

This feature is not supported in Nintex Mobile.

Note: This feature is available in the Classic Forms Designer only.

Control settings  

Following are the fields and options visible in the control settings dialog box for this form control.

Note: Several settings allow selection of Yes, No, or Expression. Selecting Expression allows you to construct a formula from reference tokens and functions. The expression must resolve to a Yes/No value at runtime to be valid. If the expression does not resolve to a Yes/No value, the setting will revert to the default.

Note: For information about the control properties tab in the Nintex Forms ribbon, see Control properties tab.

Section Field Description

General

Load from context

Display the workflow diagram based on the context of the form.

Note: Using this control on a start form will load a preview for the current workflow, a task form will show the status of the current task's workflow and a list form will show the state of the current running workflow (if there are multiple workflows running, SharePoint will look for the first workflow for that list item) or the first completed workflow.

For more information on manually configuring the workflow diagram to display, see Manual configuration scenarios.

 

Workflow Instance ID

The ID of a workflow instance.

 

Workflow name

​The name of the workflow to display.

 

SharePoint List

The ID or name of the list if required.

 

List Item ID

​The ID of the list item if required.

Appearance

Visible

Hide or show the control at runtime.

Formatting

CSS class

The CSS class to apply to the control. This is used to apply advanced styling options. The Custom CSS class is defined in Form Settings (refer to Form and Layout settings).

 

Border

​Draws a line along the select border of the control.

 

Border Style

The style of the border.

 

Border Width (Pixels)

​The width of the border in pixels.

 

Border Color

The color of the border. This can either be a HEX code or a named color that is supported by html.

 

Padding Width (Pixels)

The amount of padding in pixels that will appear between the top, left and right border and the inner control.

Advanced

Displays the control at runtime if the workflow cannot be found.

Show control at runtime if workflow not found.

 

Resize at runtime Allow the control to dynamically adjust its size, and adjust the form length and position of other controls accordingly.

Manual configuration scenarios

To display a diagram for a workflow on a list item (will look for the first workflow for the list item), specify the following:

  • SharePoint list
  • List Item ID
  • Workflow name

To display a diagram for a specific running/completed workflow on a list item, specify the following:

  • Workflow Instance ID
  • SharePoint list
  • List Item ID

To display a diagram for a site workflow, specify the following:

  • Workflow name

To display a diagram for a specific running / completed site workflow, specify the following:

  • Workflow instance ID

Related Topics

Forms designer
Control Settings
Controls In Use
Inserting reference fields
Control Properties Ribbon