How to complete a work item handler with a mock response?
Issue
KIE server exposes an API /server/containers/{id}/processes/instances/{pInstanceId}/workitems/{workItemId}/completed which can be used to complete a work item handler and progress the flow. However there is an issue when the split in front of the node uses result of previous node, which was completed using mentioned API, to fail since it is dependent on result. Is there any way to send mock response to node so using above API so that split does not fail and flow can progress?
Environment
- Red Hat Process Automation Manager (RHPAM)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.