Greetings dears!
I'm trying to find how many approvals are required for a workflow to be completed.
I want to display the workflow required approvals steps in a custom screen.
So for example we have a workflow that has 2 approval steps, 1st approval is from Department head and 2nd approval is from the HR manager.
I want to display in a screen that this type of request requires the following:
1- Approval of Department head
2- Approval of HR Manager
Is it possible through x++ code to check the workflow how many approvals are there?
Also considering the workflow version (Because the approval steps might differ between an old version or a new version of the workflow).
Thanks in advance!