Workflow views

In Nintex Workflow 2013, a workflow view describes the context in which a workflow action is displayed. For example, the view provided by the Workflow designer and the view provided by the Workflow Statistics page represent two very different contexts, with different information displayed for workflow actions.

Note: Nintex recommends that custom workflow action adapters are derived from the GenericRenderingAction class, which implements all of the interfaces needed to support all described workflow views.

The following workflow views are supported in Nintex Workflow 2013:

Design time

The Workflow designer represents a design time view, in which the workflow activity is rendered while viewing or editing a workflow. Design time views are identified by the WorkflowRenderStyle.DesignTime enumeration value.

The IActivityDesignTime interface supports rendering a workflow action in a design time view. Unlike the other workflow views, this interface supports two methods:

Run time

The Workflow Status page represents a run time view, in which the workflow activity is rendered while viewing the progress of a running workflow instance. Run time views are identified by the WorkflowRenderStyle.Runtime enumeration value.

The IActivityRunTime interface supports rendering a workflow action in a run time view. This interface supports only one method, Render, which is invoked when displaying the workflow action in the run time view.

Preview

The Start Workflow page represents a preview view, in which the workflow activity is rendered while previewing the contents of a workflow. Preview views are identified by the WorkflowRenderStyle.Preview enumeration value.

The IActivityPreview interface supports rendering a workflow action in a preview view. This interface supports only one method, Render, which is invoked when displaying the workflow action in a preview view.

Statistics

The Workflow Statistics page represents a statistics view, in which the workflow activity is rendered while viewing the statistics of a workflow. Statistics views are identified by the WorkflowRenderStyle.Statistics enumeration value.

The IActivityStatistics interface supports rendering a workflow action in a statistics view. This interface supports only one method, Render, which is invoked when displaying the workflow action in a statistics view. Each workflow action displays various statistics, such as the average duration of a workflow action when executed in an instance of the displayed workflow.