Skip to Content
0
Mar 10, 2021 at 01:07 PM

SAP BTP CF: write status to CAP App from Workflow

88 Views Last edit Mar 10, 2021 at 01:10 PM 3 rev

Hello everyone,

I am currently working on a CAP App which initiates a workflow instance by Event Handler. this works fine. Within the myInbox for this worklow instance the user can confirm or reject the item. Next step is that I want to write that decision/status ${context.decision} back to my CAP App. I thought I could do that via the service task in my workflow with a HTTP Patch call for my destination which is my URL for my App. The path then includes the item ID from context for which i want to update the status. What would I have to enter in the request and response variable to assure that the field within my CAP App is updated?

Is that approach correct? Do you have any ideas how to solve that?

Best Regards

Max

Attachments

servicetask.jpg (36.1 kB)