Process.setResult()
The method changes the result member of the process.
- Availability
- IBM® Security Identity Manager 7.0
- Synopsis
process.setResult(summary, detail)- Arguments
-
- summary
- String code that represents the result summary.
- detail
- String representing the result details.
- Description
- This method changes the result member of the process in the current
process. It is supported for current activities in the current workflow
process. The result is composed by an application-specific summary
code, and optional more detailed application-specific description.
The summary code can indicate a success or failure. This summary code
is stored as the
resultSummarymember locally and updated in the relevant data in the workflow engine. The detail is stored as theresultDetailmember locally and updated in the relevant data in the workflow engine. - Usage
-
process.setResult(process.FAILED, "Unable to connect to resource");