OIM/SOA 12c Human Workflow Rejection Comment Retrievement
(Doc ID 2761524.1)
Last updated on MARCH 18, 2021
Applies to:
Identity Manager - Version 12.2.1.3.0 and laterInformation in this document applies to any platform.
Goal
We're developing a custom SOA composite that contains a Human workflow for SOA 12.2.1.3.
The comment to the task is mandatory when the approver wants to reject it and we need to retrieve the inserted comment inside the workflow in order to use it for our business logic.
The onTaskCompleted operation of the human task is associated with the variable "ApprovalTaskGlobal" (as you can see in the attached file onTaskCompleted.PNG).
After this step we placed an assign block under the same scope that has to assign the comment inserted by the reviewer to a global variable that we have defined earlier.
The comment value is retrieved using the
expression string(bpws:getVariableData('ApprovalTaskGlobal','payload','/task:task/task:userComment/task:comment'))
as you can see in the file commentAssignment.PNG.
The above process is not working, the value that we get from this expression is empty.
Analyzing a flow instance, it seems that in the payload of the variable ApprovalTaskGlobal does not contain anything for the
field /task:task/task:userComment/task:comment.
Is there a configuration to make the onTaskCompleted return also the approver comment?
How can we accomplish our goal of retrieving the inserted comment?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |