Approval Library
|
Method / Usage |
Method / Usage |
Expected Args |
|
public SailPointObject getObject(WorkflowContext wfc) |
Returns the object being approved. |
none |
|
public String getObjectClass(WorkflowContext wfc) |
Returns the simple class name of the object being approved. |
none |
|
public String getObjectName(WorkflowContext wfc) |
Returns the name of the object being approved. |
none |
|
public SailPointObject getCurrentObject(WorkflowContext wfc) |
Returns the current persistent version of the object held in the workflowCase (approvalObject). |
none |
|
public Identity getObjectOwner(WorkflowContext wfc) |
Returns the current owner of the object being approved. Uses database lookup. |
none |
|
public Identity getNewObjectOwner(WorkflowContext wfc) |
Returns the object owner. In the workflow context, the owner could be different than the database-recorded owner. |
none |
|
public String getObjectOwnerName(WorkflowContext wfc) |
Returns name of ObjectOwner from getObjectOwner. |
none |
|
public String getNewObjectOwnerName(WorkflowContext wfc) |
Returns name of NewObjectOwner from getNewObjectOwner. |
none |
|
public boolean isOwnerChange(WorkflowContext wfc) |
Return true if object being approved has had an owner change. |
none |
|
public boolean isSelfApproval(WorkflowContext wfc) |
Returns True if the user who launches workflow is the same as the owner of the object being approved. Used to bypass an owner approval. Assumes that the user will approve if the user is the one who is initiating the request. |
none |