To find approvalInstanceId
via API call, use the following steps:
-
We use the Fetch Execution Details to get the approval stage
nodeUuid
: pipelineExecutionSummary → layoutNodeMap → Your Approval node -
Use the
nodeUuid
for next Fetch Execution Details call as stageNodeId
In the response, we go to executionGraph → nodeMap → approval → executableResponses
There we will find the callbackId
that corresponds to our approvalInstanceId