approval state is not updating with flow designer on catalog task

Anusha27
Tera Contributor

Hello All,

I have requirement to trigger approvals on Catalog task level with a 'Request Approval' ui action. So I wrote a UI action for button in SC Task and build a flow designer on SC Task using create or update Trigger, which triggers based on the conditions item is ABC and Approval is Request.

Now the issue is that , once approval is rejected Approval state is changing to Rejected, if again clicking on Request approval, the approvals are triggering as expected but Approval state in Task on the form is staying in rejected only, but in history it is changing to Requested from Rejected. 

 

Please suggest solution for this.

 

Note: Using Do the following  loop in the flow to wait until approval state changed to Requested.

I have tried to update UI Action script and added additional actions to updated approval state as well. 

1 REPLY 1

Mark Manders
Mega Patron

Can you share your script? Because setting the approval to 'requested' again, should also trigger the flow again (if it's set correctly: can you check if it not set to 'run once'?).

 

Next to getting it to work: why would you keep on asking for approval after a task was rejected? Shouldn't that just be the end of it? I click on the button, a manager says 'no' and after that I just say to that manager "but you have to, here it is again".

 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark