Process

Represents the IBM® Security Identity Manager workflow process.

Availability
IBM Security Identity Manager 4.x
Provided by
The Process JavaScript Object in the WorkflowExtension returns a Process object. The object represents the current workflow process. The parent processes of the current workflow can be returned by calling Process.getParent() recursively, and the parent process is also a Process object.
Properties
Note: Custom result codes are supported in the workflow designer for approval activities.
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.
comment
Provides additional information about the process given when defined in the workflow designer.
description
Describes the purpose of the process given when defined in the workflow designer.
id
Assigned by the workflow designer to uniquely identify the workflow process within the workflow engine.
name
Label given this activity when defined in the workflow designer.
parentId
Uniquely identifies the parent process (if any) that started this process.
requesteeDN
Uniquely identifies the requestee if the requestee is a user in the IBM Security Identity Manager data store.
requesteeName
Name of the process requestee.
requestorId
Id of the process requestor.
requestorName
The name of the process requestor if the requestor is a user.
requestorType
Categorize the requestor
resultDetail
An application-specific string that provides more detail about the result of the process.
resultSummary
An application-specific string that represents the summary result of the process.
started
Indicates when the process started.
state
Code that represents the current state of the process.
subject
Describes the object that is the focal point of the workflow process.
type
Code that categorizes the process given when defined in the workflow designer.
Methods
auditEvent()
Create an event in the audit trail specific to the activity.
getActivity()
Returns an activity with the ID and index.
getParent()
Get the parent process (if any) that started this process.
getRootProcess()
Returns the JavaScript Process object that contains information about the root process.
getRootRequesterName()
Returns String of requester name of the root process.
setRequesteeData()
Change the requestee data for the current process.
setResult()
Change the result member of the activity in the current activity.
setSubjectData()
Change the subject data for the current process.
Description
This entity represents the current workflow process is running.