When updating sysapproval_approver state field to 'approved' via business rule, flow does not see it and does not go to if approved action

Igor Tsalyuk
Kilo Guru

When requesting a catalog item that requires approval, I need to check if Approver has a VIP flag, then I can auto-approve the request and proceed to create a task for an appropriate group.

I have a flow that is looking for approval for the requested_for.manager.

I created a business rule on sysapproval_approver table on Insert and Update that if the approver has VIP flag set to true, then set state field to 'approved'. But when Business rule is getting triggered, then I can see that the approval field is set to approved,but for some reason I see 2 approval records and both of them approved, but the flow behind the process is not recognizing this as 'Approved' and waiting for approval. Any idea what am I doing wrong?

find_real_file.png

find_real_file.png

 

11 REPLIES 11

Igor Tsalyuk
Kilo Guru

And this is what it showing me when I click on the Flow control link in RITM:

find_real_file.png

Igor Tsalyuk
Kilo Guru

Here is a bit more detail:

find_real_file.png

Hi @Igor Tsalyuk 

Sorry I lost track of this question. Just wanted to know if you are able to fix it or you still need any help around this?

Thank you
Prasad

Hi Prasad, I definitely need help on this :). I've been trying to get this to work for a while now with no success. Please, if you could help me, would be great.

-Igor

Leslie Birden
Kilo Explorer

I'm having the same issue with my BR where the flow generates two approval tasks. Both of them change to the approved state but the flow stops processing and does not activate the next task. Any luck finding a solution?