This object represents an activity (in the context of a process definition).
Property |
Type |
Access |
Description |
Id |
WorkflowActivityId |
Read |
Identifier |
Name |
WorkflowName |
Read |
Activity name |
ProcessDefinition |
WorkflowProcessDefinition |
Read |
Process definition |
ProcessDefinitionId |
WorkflowProcessDefinitionId |
Read |
Identifier of the 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 |
WorkflowApplication |
Read |
Name of the associated Web application |
Roles |
Collection (WorkflowRole) |
Read |
Roles associated to the activity |
ExtendedAttributes |
Collection (WorkflowAttribute) |
Read |
Activity extended attributes |
SuccesiveActivities |
Collection (WorkflowActivity) |
Read |
Successive activities |
SuccessiveOptionalActivities |
Collection (WorkflowActivity) |
Read |
Successive Optional activities |
DocumentDefinitions |
Collection (WorkflowDocumentDefinition) |
Read |
Document Definitions associated to the activity |
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 |
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 to recovering the actions allowed to a specified document.
GetDocumentDefinitionAllowedActions(DocumentDefinition):Collection(WorkflowDocumentAction)
- GetDocumentDefinitionRequiredActions
This method allows to recovering the actions required to a specified document.
GetDocumentDefinitionRequiredActions(DocumentDefinition):Collection(WorkflowDocumentAction)
Allows to load an Activity by Identifier.
Load(ProcessDefinitionId,id)
Allows to load an Anctivity by Name..
LoadByName(Name)
Allows to recover 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 |
|
Workflow Error Codes