cancel
Showing results for 
Search instead for 
Did you mean: 

How to get info about my SPA process via API

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

If I have the instance ID of a workflow I triggered, and now I want to check via API if it has been approved or rejected, how can I do that?

I notice that when I monitor the process there is no indication whether a step was approved or not, or whether the entire process was approved. Either way, the status is completed. Can I create my own status for when it finishes, instead of just ending (either way "successfully")?

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Any update/answer on this?

View Entire Topic
Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

My understanding is that there is not currently a way to get if an approval task was approved or rejected. What I have done is to have a unique activity under approval and then when I run the API of the log I can easily search to see if that activity exists in the log. You could probably do something similar with custom variables, but I didn't think this was any easier (maybe when we have an expression editor this would help here).

Does that make sense?

If you use custom UI5 forms for the approval form UI, then your UI5 form I believe can let you know if it was approved.