Activity.setResult()
The method changes the result member of the activity.
- Availability
- IBM® Security Identity Manager 7.0.
- Synopsis
-
activity.setResult(summary)
activity.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 activity in the current
activity. 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
resultSummary
member locally and updated in the relevant data in the workflow engine. The detail is stored as theresultDetail
member locally and updated in the relevant data in the workflow engine. - Usage
-
activity.setResult(activity.FAILED);
activity.setResult(activity.FAILED, "Unable to connect to resource");