This data type represents a process definition, that is the equivalent of a diagram in the GeneXus IDE. It is provided by the Workflow API.
Allows loading a process definition from the identifier.
Load (id)
Allows loading a process definition from the name.
LoadByName (name)
Allows loading a process definition from the GUID
LoadByGUID(GUID) LoaLoadByName (name) Loa
Creates a new process instance.
CreateInstance (): WorkflowProcessInstance
Returns an Activity type object whose identifier coincides with the specified one.
GetActivityById (id) : WorkflowActivity
Name |
Type |
Movement |
Description |
Id |
Numeric |
Input |
Activity Identifier |
Returns the first Activity type object whose name coincides with the specified one.
GetActivityByName (name): WorkflowActivity
Name |
Type |
Movement |
Description |
Name |
Workflowname |
Input |
Activity Name |
Returns the first Node type object whose name coincides with the specified one.
GetNodeByName (name): WorkflowNode
Name |
Type |
Movement |
Description |
Name |
Workflowname |
Input |
Node name |
Returns the first Node type object whose identifier coincides with the specified one.
GetNodeById (Id): WorkflowNode
Name |
Type |
Movement |
Description |
Id |
WorkflowId |
Input |
Node identifier |
Changes the process state.
ChangeState (state)
Name |
Type |
Movement |
Description |
State |
Character (WorkflowProcessDefinitionState) |
Input |
Process State |
Changes the process state to enabled.
Enable ()
Changes the process state to disabled.
Disable ()
Returns a Business Event type object whose identifier coincides with the specified one.
GetBusinessEventById(id):WorkflowBusinessEvent
Name |
Type |
Movement |
Description |
Id |
Numeric (WorkflowBusinessEventId) |
Input |
Business Event Identifier |
Returns the first Business Event type object whose name coincides with the specified one.
GetBusinessEventByName(name):WorkflowBusinessEvent
Name |
Type |
Movement |
Description |
Name |
Workflowname |
Input |
Business Event Name |
- GetDocumentDefinitionAllowedActions
Returns the allowed actions for the specified document.
GetDocumentDefinitionAllowedActions(DocumentDefinition):WorkflowDocumentAction
Workflow Error Codes