This data type (provided by the Workflow API) represents an activity in the context of a process definition (it is the equivalent of a task in the GeneXus IDE).
Property
|
Type
|
Access
|
Description
|
Id
|
WorkflowActivityId
|
Read
|
Identifier
|
Node
|
WorkflowNode Data Type |
Read |
Node |
Name
|
WorkflowName
|
Read
|
Activity name
|
GUID
|
WorkflowGUID
|
Read
|
GUID
|
ProcessDefinitionId
|
WorkflowProcessDefinitionId
|
Read
|
Identifier of the process definition
|
ProcessDefinition
|
WorkflowProcessDefinition
|
Read
|
Process definition
|
Class
|
WorkflowActivityClass
|
Read
|
Activity Class
|
isInitial
|
Boolean
|
Read
|
Indicates if the activity is initial
|
isFinal
|
Boolean
|
Read
|
Indicates if the activity is final
|
Subprocess
|
WorkflowProcessDefinition
|
Read
|
Definition of associated subprocess
|
Application
|
WorkflowApplicationName
|
Read
|
Name of the associated Web application
|
Applications
|
WorkflowActivityApplication
|
Read
|
|
Roles
|
Collection (WorkflowRole)
|
Read
|
Roles associated to the activity
|
SuccesiveActivities
|
Collection (WorkflowActivity)
|
Read
|
Successive activities
|
SuccessiveOptionalActivities
|
Collection (WorkflowActivity)
|
Read
|
Successive Optional activities
|
ExtendedAttributes
|
Collection (WorkflowAttribute)
|
Read
|
Activity extended attributes
|
PreviewApplication
|
WorkflowApplication
|
Read
|
Preview application associated to the activity
|
QueryApplication
|
WorkflowApplication
|
Read
|
Query application associated to the activity
|
canDelegate
|
Boolean
|
Read
|
It indicates if the activity can be delegated
|
canCollaborate
|
Boolean
|
Read
|
It indicates if several users can collaborate to the execution of an activity
|
canWorkWithDocuments
|
Boolean
|
Read
|
It indicates if documents can be attached to the activity
|
isAdhoc
|
Boolean
|
Read
|
It indicates if an activity is ad hoc
|
isSelectableForAdhoc
|
Boolean
|
Read
|
It indicates if an activity can be selectable for ad hoc
|
DocumentDefinitions
|
Collection (WorkflowDocumentDefinition)
|
Read
|
Document Definitions associated to the activity
|
AttachedBusinessEvent
|
Collection (WorkflowBusinessEvent)
|
Read
|
|
AttachedTimers
|
Collection (WorkflowTimer)
|
Read
|
|
Error
|
WorkflowError
|
Read
|
|
Methods
Assign a Role to the Activity.
AssignRole(role)
|
Name
|
Type
|
Movement
|
Description
|
1
|
role
|
WorkflowRole
|
Input
|
Workflow Role
|
Unassign a Role to the Activity.
UnAssignRole(role)
|
Name
|
Type
|
Movement
|
Description
|
1
|
role
|
WorkflowRole
|
Input
|
Workflow Role
|
- GetDocumentDefinitionAllowedActions
This method allows recovering the actions allowed to a specified document.
GetDocumentDefinitionAllowedActions(DocumentDefinition):Collection(WorkflowDocumentAction)
- GetDocumentDefinitionRequiredActions
This method allows recovering the actions required to a specified document.
GetDocumentDefinitionRequiredActions(DocumentDefinition):Collection(WorkflowDocumentAction)
Allows loading an Activity by Identifier.
Load(ProcessDefinitionId,id)
Allows to load an Activity by Name.
LoadByName(Name)
Allows loading an Activity by GUID.
LoadByGUID(GUID)
Allows recovering the value of a property with the name it appears in the task in GeneXus.
GetPropertyValue(Name):Character
|
Name
|
Type
|
Movement
|
Description
|
1
|
Name
|
Character ()
|
Input
|
|
- GetApplicationByPlatformAndAction
GetApplicationByPlatformAndAction(Platform, Action):WorkflowActivityApplication
GetApplicationByName(Name):WorkflowActivityApplication
Workflow Error Codes