Hello All,
We have created a Web API, That starts a process model and provides the taskid. We are than using this taskId to generate task link. Now, Inside the process model we are making an another API call that pull backs the data required for task form. To accomplish our goal, We have used a!startProcess smart service and we are saving the process id in case of successful execution of the process. Sometime due to delay response from API within process model, We are able to get the process id but not the task id which results into an issue while we are generating a task for user. Can someone please help us about how we can tackle this kind of situation?
Discussion posts and replies are publicly visible
How are you returning the TaskId from the started Process back to the WebAPI's response?
Hi Stewart,
I'm using below function to get the task id
getactivetaskidsforprocess( a!fromJson( ri!postRequest_at ).ProcessID )
and I'm merging this taskID inside the site link