- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2015 06:16 PM
Hi all,
I have a problem where a User approves a change. When requested other approval, the first returns to be requested again.
I will explain the process of approval:
I have the first phase of approval, where I have 3 users that must approves before proceeding to the next step of the workflow. (all 3 must approve before proceeding)
After the approval of three users, the status changes and goes to a second approval of the CAB manager. After manager approval follows the flow and creates jobs and changes the status as necessary.
But my problem is when the flow arrives at the manager's approval (second approval), instead of creating just another approval to the manager, the status of the first phase approvals returns to status requested.
After Rodrigo approve, should be created one more approval (manager), but in addition to create a new approval, but in addition to create a new approval, the records of previous approvals come back to status "Requested"
Think there should be just one more approval as required (manager approval).
Someone with same problem?
I can be doing something wrong?
Thanks,
Gabriel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2015 09:06 AM
Hi Michael and Kalaiarasan,
Sorry for respond too late.
I resolved it.
Kalaiarasan,
I did it.
When pass for the First Approval, workflow executes a script "Status - CAB", where has the code:
"current.approval = 'approve' ", so when workflow goes to the Second approval there a business rule on sys_approvals reset the all approvals.
So I removed the code "current.approval = 'approve' " after the First Approval and works.
Michael,
I try use the Approval Coordinator, but not on second approval. I will try putting as you said.
Thanks you both.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2015 05:35 PM
Did you try putting your two Approval - Users in an Approval Coordinator? Let the AC control the approvals.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2015 11:19 PM
I don't see any reason why the already approved approvals are changing back to 'Requested'.. I would suggest you to debug the business rules and you would be able to find something,,,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2015 09:06 AM
Hi Michael and Kalaiarasan,
Sorry for respond too late.
I resolved it.
Kalaiarasan,
I did it.
When pass for the First Approval, workflow executes a script "Status - CAB", where has the code:
"current.approval = 'approve' ", so when workflow goes to the Second approval there a business rule on sys_approvals reset the all approvals.
So I removed the code "current.approval = 'approve' " after the First Approval and works.
Michael,
I try use the Approval Coordinator, but not on second approval. I will try putting as you said.
Thanks you both.