performProcess
TransactionId performProcess(Credential credential, java.lang.String process, java.lang.String comment)
Performs a lifecycle process or initiates a workflow for the process, for the specified Credential. The types of processes are associated with the Credential life cycle rather than its content. For example, they might be the following types:
-
Suspend
-
Resume
-
Revoke
Returns:
Returns a transaction identifier that is used as input to any potential further steps required to complete or advance this process. The transaction identifier returned must have the default type: Transaction. This entry point may result in the following processes:
-
To retrieve External Operation(s) by calling:
CopygetNextExternalOperations(TransactionId, ExternalOperation[])
-
To externally process the External Operation(s)
-
To return the results to the Credential Provider by calling:
CopygetNextExternalOperations(TransactionId, ExternalOperation[])
If no External Operations are pending, the final unique credential can be retrieved by calling commitCredentialTransaction(TransactionId).
Parameter |
Description |
---|---|
credential |
The Credential upon which to perform the lifecycle process. |
process |
The process that is to be performed. |
comment |
Optional comments that describe the purpose of the change(s). |