Skip to main content

WorkflowItem Constructors

An object defining constructors for the WorkflowItem class.

WorkflowItem(id, name, flowName, flowCaption, approverForm, caption, description, multilanguage, color, icon, count, sourceVersion, url, projectPath, flowCaptionML, projectCaptionML)

Initializes a new instance of the WorkflowItem class with specified parameters.

Parameters:

id (required): string
The unique identifier for the workflow item.

name (required): string
The name of the workflow item.

flowName (required): string
The name of the flow associated with the workflow item.

flowCaption (required): string
The caption of the flow associated with the workflow item.

approverForm (required): string
The form used for the approver associated with the workflow item.

caption (required): string
The caption of the workflow item.

description (required): string
The description of the workflow item.

multilanguage (required): MultiLanguage
The multilingual support for the workflow item.

color (required): string
The color of the workflow item.

icon (required): string
The icon of the workflow item.

count (required): int
The count of the workflow item.

sourceVersion (required): string
The source version of the workflow item.

url (required): string
The URL of the workflow item.

projectPath (required): string
The path of the project associated with the workflow item.

flowCaptionML (required): MultiLanguage
The multilingual caption for the flow.

projectCaptionML (required): MultiLanguage
The multilingual caption for the project.


WorkflowItem()

Initializes a new instance of the WorkflowItem class.