WarningIcon element

Specifies the warning icon for a custom workflow action.

Syntax

<NintexWorkflowActivity>
   <WarningIcon>string</WarningIcon>
</NintexWorkflowActivity>

Element Characteristics

Characteristic Description
Data type and length String
Default value None
Cardinality 0..1: Optional element that occurs only once.

Element Relationships

Relationship Element
Parent elements NintexWorkflowActivity
Child elements None

Remarks

If a value is not specified for this element, or if this element is not included, the action uses the default warning icon for Nintex Workflow.

The warning icon is displayed for instances of the action on the design surface of the Nintex Workflow designer, if an issue exists with the action that requires a warning icon to be displayed. The value of this element should be set to the relative URL of the image used for the warning icon. The Workflow designer attempts to retrieve an image that matches the current locale, determined by the locale ID of the current culture for the current thread. If a matching image cannot be retrieved, Workflow designer uses the image that matches the default locale ID, 1033 (English - United States).

When displayed, the warning icon is superimposed on the upper left corner of the icon displayed for that action in the design canvas of the Nintex Workflow designer.

An 8-bit image, 24 pixels by 24 pixels in size, is recommended. If a valid image cannot be loaded by Nintex Workflow 2013, the Workflow designer displays a placeholder for the custom workflow action in the design surface, as illustrated in the following example:

When the action definition file is imported in Nintex Workflow Management, the Warning icon field is set to the value of this element.

Example

The following example contains the relative URL of the image used as the warning icon for a custom action.

<WarningIcon>/_layouts/NintexWorkflow/CustomActions/CustomAction/Images/WarningIcon.png</WarningIcon>

See Also

Concepts

Action definition files

Reference

Category element

Description element

Icon element

Name element

ToolboxIcon element

Action Definition File XML Reference