WEB API response not updating the process variable

I have one web api which is using a!startProcess to call the process async. As it is async and does not wait for process model to complete it is not updating the process variables in the response. 

What are the possible fixes we can do? 

  Discussion posts and replies are publicly visible

  • 0
    Certified Lead Developer
    in reply to radhikam0005

    The idea is to get case id's generated at once. You can do that by writing INSERT statements on your table through a stored procedure. The same can be done via write to data store where you could initially write blank rows to get case id's (I assume you are creating them using auto increment primary ID of your table)

    Once you get the generated Id's (either via stored procedure / process), you can use them to map it in your loop to individual case and populate the remaining details in your table.