Activity
Activity is used to reference any activity in a IBM Security Identity Manager workflow.
- Availability
- IBM Security Identity Manager 7.0
- Provided by
- The activity JavaScript object in the WorkflowExtension returns an Activity object that represents the current workflow activity. The workflow activity can be used in the context of a workflow activity PostScript, or in a transition script, to reference the current activity. For a transition script, this object represents the activity whose completion has lead to the evaluation of the transition script.
Process.getActivity() can return any Activity object in the context of a workflow process. See the description of this method.
- Activity Result Summary Code
- APPROVED
- Approved process summary code. Result code is AA.
- ESCALATED
- Escalated process summary code. Result code is ES.
- FAILED
- Failed process summary code. Result code is SF.
- PARTICIPANT_RESOLVE_FAILED
- Participant resolved failure process summary code. Result code is PF.
- PENDING
- Pending process summary code. Result code is PE.
- REJECTED
- Rejected process summary code. Result code is AR.
- SUBMITTED
- Submitted process summary code. Result code is RS.
- SUCCESS
- Success process summary code. Result code is SS.
- TIMEOUT
- Time out process summary code. Result code is ST.
- WARNING
- Warning process summary code. Result code is SW.
- Properties
- description
- Describes the purpose of the activity given when defined in the workflow designer.
- duedate
- Indicates the time in milliseconds by when the activity is due.
- id
- Assigned by the workflow designer to uniquely identify the workflow activity within the workflow engine.
- index
- Index of the instance of the activity.
- name
- Label given this activity when defined in the workflow designer.
- participant
- The activity participant, as defined in the workflow designer.
- resultDetail
- An application-specific string that provides more detail about the result of the activity.
- resultSummary
- An application-specific string that represents the summary result of the activity.
- started
- Indicates when the activity started.
- state
- Code that represents the current state of the activity.
- subtype
- Code that further categorizes the activity beyond the type of the activity, such as approval or request for information.
- type
- Code that categorizes the activity given when defined in the workflow designer, such as manual or application.
- Methods
- auditEvent()
- Create an event in the audit trail specific to the activity.
- setResult()
- Change the result member of the activity in the current activity.
- Description
- This entity represents the current workflow activity that is being run. Within the context of a workflow transition script, this entity represents the activity whose completion has lead to the evaluation of the transition script. No constructor is available to create this object in any IBM Security Identity Manager context.
- Activity.auditEvent()
The method creates an event in the audit trail.- Activity.description
The field provides information about the purpose of the activity.- Activity.duedate
The field represents the time in milliseconds by when the activity is due.- Activity.getSubProcesses()
The method returns the subordinate processes (if any) of the activity.- Activity.guid
The generated unique identifier assigned to the activity at runtime.- Activity.id
The field is the unique identifier assigned to the activity.- Activity.index
The field is an index of the instance of the activity.- Activity.name
The field is the label that is assigned to the activity.- Activity.participant
The field represents the activity participant.- Activity.resultDetail
We can get the details about the result of the activity with this field.- Activity.resultSummary
The field helps you view the summary of the result of the activity.- Activity.setResult()
The method changes the result member of the activity.- Activity.started
The field represents the date that indicates when the activity started.- Activity.state
The field represents the current state of the activity.- Activity.subtype
The field represents the subtype of the activity.- Activity.type
The field represents the type of the activity.Parent topic: JavaScript extension reference