cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Build Process Automation - Workflow User Task Context Issue

Vishal_97
Product and Topic Expert
Product and Topic Expert
0 Likes
757

Hi All,

We are currently developing a prototype to trigger an workflow for invoice creation in the SAP Build Process Automation via API trigger and send an user task to particular users.

The issue that I'm facing right now is that the process inputs doesn't support array of objects as input. Due to this I was not able to pass my items data to the workflow. I made an workaround for this issue by creating an dummy user task before the main user task. This dummy user task has the context for items data.

So every time I triggered an workflow from the application, the steps were to first create an instance with the header data. To add the items context to the workflow level, I would make another API call to complete this dummy user task with the items data as context and the main user task takes the items data from the dummy user task.

This process works for almost all data, except for few fields which goes missing in the main user task form but present in the workflow's task context.

Could anyone please help me with this? Is there any other way that we could pass an array of objects to the workflow context?

Thanks & Regards,

Vishal

Accepted Solutions (0)

Answers (0)