approvals iterating back through previous approvers, even after they've approved

cameron8
Tera Contributor

i've got a situation i can't quite figure out. I'm working with a flow that will will ask a user's manager for approval, then if manager approves, ask the department head, then the company head once each previous approval is done. 

 

the issue we're having is that once a users manager approves, and it moves on to the department head, it sends another approval back to the manager when it iterates to the department head. on the same note, if the department head approves, when it moves to the company head step, it'll send an approval request to the company head, the department head, and the manager. 

 

any ideas on how to fix this? 

 

Screen Shot 2024-02-19 at 9.52.56 AM.png

Screen Shot 2024-02-19 at 9.53.51 AM.png

Screen Shot 2024-02-19 at 9.54.03 AM.png

Screen Shot 2024-02-19 at 9.54.11 AM.png

7 REPLIES 7

cameron8
Tera Contributor

when it iterates to the department head, as you can see here it sends another approval request back to the manager, then adds an approval for the department head. 

Screen Shot 2024-02-19 at 9.56.24 AM.png

Hey @cameron8,

 

Does it create a new approval record or update the 'Approved' record back to the 'Requested' state when the Flow moves on to the next approval? Looking at your screenshot, I think it's the latter but wanted to make sure.

 

Thanks

@James Chun - it seems to be updaring the approved back to requested. 

If that's the case, your Flow may not be the source of the issue. There could be a Business Rule or some different logic that's changing the approval's state back to 'Requested'. 

 

Have you tried some debugging? I think using the Script Tracer can help here.

 

Thanks