Skip to main content

EnsLib.Workflow.ActionDefinition

persistent class EnsLib.Workflow.ActionDefinition extends %Library.Persistent, %XML.Adaptor

SQL Table Name: EnsLib_Workflow.ActionDefinition

Defines the set of available actions that a user can make within a Workflow application. Users can extend this list.

Property Inventory

Method Inventory

Properties

property Caption as %String (MAXLEN = 100);
Used to display the button caption for this action within the workflow application.
Property methods: CaptionDisplayToLogical(), CaptionGet(), CaptionGetStored(), CaptionIsValid(), CaptionLogicalToDisplay(), CaptionLogicalToOdbc(), CaptionNormalize(), CaptionSet()
property Name as %String (MAXLEN = 50) [ Required ];
Identifying name used for this action. This must be a unique value.
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property Prompt as %String (MAXLEN = 100);
If defined, this action prompts the user before performing the action.
Property methods: PromptDisplayToLogical(), PromptGet(), PromptGetStored(), PromptIsValid(), PromptLogicalToDisplay(), PromptLogicalToOdbc(), PromptNormalize(), PromptSet()
property Title as %String (MAXLEN = 100);
Used to display popup help for this action within the workflow application.
Property methods: TitleDisplayToLogical(), TitleGet(), TitleGetStored(), TitleIsValid(), TitleLogicalToDisplay(), TitleLogicalToOdbc(), TitleNormalize(), TitleSet()

Methods

classmethod CreateDefaultActions(pForce As %Boolean = 0) as %Status
Create the set of default Workflow actions This will clear out the existing actions

Queries

query ActionList()
SQL Query:
SELECT Name,Caption,Title FROM ActionDefinition ORDER BY Name
Return a list of available Workflow actions.

Indexes

index (ID on Name) [IdKey, Type = key];
Index methods: IDCheck(), IDDelete(), IDExists(), IDOpen(), IDSQLCheckUnique(), IDSQLExists(), IDSQLFindPKeyByConstraint(), IDSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (EnsLib.Workflow.ActionDefinition)

^EnsLib.W.ActionDefinitionD(ID)
=
%%CLASSNAME
Caption
Title
Prompt
FeedbackOpens in a new tab