WorkflowProcessDefinition Data Type

Official Content
This documentation is valid for:

This object represents a process definition.

Properties

Property Type Access Description
Id WorkflowProcessDefinitioId  Read Identifier
Name WorkflowProcessName  Read Process Name
Version WorkflowProcessVersion  Read Process version
State WorkflowProcessDefinitionState  Read Definition state
isMain Boolean Read Indicates if it is main process
Calendar WorkflowCalendar Read Calendar associated to the process
Activities Collection (WorkflowActivity) Read Activities making up the process definition
ExtendedAttributes Collection (WorkflowAttribute) Read Process extended attributes
DocumentDefinitions Collection WorkflowDocumentDefinition Read Document definitions associated to the process
States Collection (WorkflowProcessDefinitionState) Read States that a process definition may have
Error WorkflowError Read Error code
BusinessEvents Collection (WorkflowBusinessEvent) Read Business Events
Description WorkflowDescription  Read Process definition description
Created DateTime Read Datetime of creation
Updated DateTime Read Datetime of last update
GUID WorkflowGUID  Read GUID
ApplicationDataDefinitions WorkflowApplicationDataDefinition  Read  

Methods

  • Load

 Allows to load a process definition from the identifier.

Load (id) 

  • LoadByName

 Allows to load a process definition from the name.

LoadByName (name) 

  • LoadByGUID

Allows to load a process definition from the GUID

LoadByGUID(GUID) LoaLoadByName (name) Loa

  • CreateInstance

Creates a new process instance.

CreateInstance (): WorkflowProcessInstance 

  • GetActivityById

Returns an Activity type object whose identifier coincides with the specified one.

GetActivityById (id) : WorkflowActivity

Name Type Movement Description
Id Numeric Input Activity Identifier

 

  • GetActivityByName

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

 

  • ChangeState

Changes the process state.

ChangeState (state)

Name Type Movement Description
State Character (WorkflowProcessDefinitionState) Input Process State

 

  • Enable

Changes the process state to enabled.

Enable () 

  • Disable

Changes the process state to disabled.

Disable ()

  • GetBusinessEventById

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
  • GetBusinessEventByName

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 

Name Type Movement Description
DocumentDefinition WorkflowDocumentDefinition Input Business Event Name

 

See Also



 





Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.