Gen3 - Execution history for Completed Process Instance
Summary:
Objective is to fetch execution history from a Gen3 Process Cloud, along with detailed action taken at all human approval steps. The process is structured.
Step 1 - Get the Execution History using : /process/api/v1/process-instances/{id}/history where {id} is instanceId
Step 2 - Get execution details using : /process/api/v1/process-executions/{id} where {id} is the executionId retrieved from previous Step 1.
This works well for Active Processes but as soon as the process completes, the /process/api/v1/process-executions/{id} endpoint starts to return "Process Execution not found."
Any ideas on why the api will not return execution details for a completed process, and if there is a different way to retrieve the history?
Tagged:
0