Official Content

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).

Properties

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

  • AssignRole

Assign a Role to the Activity.

AssignRole(role) 

 

Name

Type

Movement

Description

1

role 

WorkflowRole 

Input

 Workflow Role

 

  • UnAssignRole

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)

 

Name

Type

Movement

Description

1

DocumentDefinition

WorkflowDocumentDefinition 

Input

Workflow Document Definition

 

  • GetDocumentDefinitionRequiredActions

This method allows recovering the actions required to a specified document.

GetDocumentDefinitionRequiredActions(DocumentDefinition):Collection(WorkflowDocumentAction)

 

Name

Type

Movement

Description

1

DocumentDefinition

WorkflowDocumentDefinition 

Input

Workflow Document Definition

 

  • Load

Allows loading an Activity by Identifier.

           Load(ProcessDefinitionId,id)

 

Name

Type

Movement

Description

1

ProcessDefinitionId

WorkflowProcessDefinitionId

Input

Process Definition Id 

2

Id

WorkflowActivityId 

Input

 

 

  • LoadByName

Allows to load an Activity by Name.

LoadByName(Name)

 

Name

Type

Movement

Description

1

Name

Workflowname 

Input

 

 

  • LoadByGUID

Allows loading an Activity by GUID.

LoadByGUID(GUID) 

 

Name

Type

Movement

Description

1

GUID

WorkflowGUID 

Input

 

 

  • GetPropertyValue

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 

 

Name

Type

Movement

Description

1

Platflorm

WorkflowApplicationPlatform 

Input

 

2

Action

WorkflowApplicationAction 

Input

 

 

  • GetApplicationByName

GetApplicationByName(Name):WorkflowActivityApplication  

 

Name

Type

Movement

Description

1

Platflorm

WorkflowApplicationName 

Input

 

 
 

See Also

Workflow Error Codes

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant