Customization > Automation Interface > Object Attributes and Associations > Activity (automation interface)
  
Activity (automation interface)
An Activity is the specification of parameterized behavior as the coordinated sequencing of subordinate units whose individual elements are actions.
ATTRIBUTES:
In addition to the common attributes
Is Reentrant
A Boolean property that specifies whether the Activity is a reentrant, that is, the Activity can be invoked while it is still executing from a previous invocation. Possible values are TRUE or FALSE.
Access is read/write.
Is Single Execution
A Boolean property that specifies whether the same execution of the Activity handles tokens for all invocations, or a separate execution of the Activity is created for each invocation. Possible values are TRUE or FALSE. When TRUE, all invocations of the Activity are handled by the same execution.
Access is read/write.
Is Activity Read Only
A Boolean property that specifies whether Activity is read only. Possible values are TRUE or FALSE. When TRUE, the Activity must not make any changes to variables outside the Activity or to objects.
Access is read/write.
Return Type
A string property that specifies the name of the Activity's return.
If the return type is a linked item, the item is linked through the Return Type association.
Access is read/write.
ASSOCIATIONS:
In addition to the common associations
Action Node
Relationship to Action Nodes (Call Behavior Actions only) that use the Activity as their Linked Item.
Multiplicity is 0+, access is read/write.
Applied Comment
Relationship to Comments that are applied to the Activity.
Multiplicity is 0+, access is read/write.
Applied Constraint
Relationship to Constraints that are applied to the Activity.
Multiplicity is 0+, access is read/write.
Constructed Classifier
Relationship to Actors, Class objects (Class, Data Type, Interface and Signal items) and Use Cases (classifiers) that invoke the Activity when an instance of the classifier is created.
Multiplicity is 0+, access is read/write.
Owned Activity
A relationship to Activity items that are owned by the Activity.
Multiplicity is 0+, access is read/write.
Owned Comment
Relationship to Comments that are owned by the Activity.
Multiplicity is 0+, access is read/write.
Owned Constraint
Relationship to Constraints that are owned by the Activity.
Multiplicity is 0+, access is read/write.
Postcondition
A relationship to an Activity item that is a pre- condition to the Activity.
Multiplicity is 0-1, access is read/write.
Precondition
A relationship to an Activity item that is a post-condition to the Activity.
Multiplicity is 0-1, access is read/write.
Return Type
A relationship to an item that is the return type of the Activity.
The Return Type attribute shows the name of the item that is linked through the Return Type association.
Multiplicity is 0-1, access is read/write.
Specification
A relationship to an Operation item that is a specification for the Activity.
Multiplicity is 0-1, access is read/write.