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.

Parent topic: JavaScript extension reference