Ask for Approval State is Cancelled even though Approver Rejected

DanielG
Tera Contributor

Screenshot 2025-03-04 at 12.51.06 PM.png

My approval state is set to Cancelled even though the approver rejected. I am expecting a value of "rejected". Is there something wrong with my configuration?

 

Screenshot 2025-03-04 at 12.48.56 PM.png

Screenshot 2025-03-04 at 12.53.22 PM.png

2 ACCEPTED SOLUTIONS

J Siva
Tera Sage

Hi @DanielG 

In the approval action configure the rule as "ApprovedOrRejected" instead of using the or condition explicitly.

Regards,

Siva

View solution in original post

Hello @DanielG 

 

I believe you are doing great.

I just got chance to replicate the scenario, but my approvals are not mark as cancelled even if it is rejected. I request you to recreate the subflow you are calling from your flow which I assume by looking screenshot as shared by you earlier.

I created a flow as below which calls a subflow.

VirajHudlikar_0-1741276817192.png

 

Subflow as below

VirajHudlikar_1-1741276895333.png

VirajHudlikar_5-1741277163310.png

 

Now when I tested same here how my subflow worked.

 

VirajHudlikar_2-1741276985549.png

VirajHudlikar_3-1741277034772.png

VirajHudlikar_4-1741277083992.png

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

View solution in original post

15 REPLIES 15

Viraj Hudlikar
Giga Sage

Hello @DanielG 

 

Did you cross check that Due date specified in approval is contributing for approval state set as cancelled if approval or rejection is not done within two 2 days from date you are passing. So verify that. Also see if this is happening only for this approval or all approvals in instance. If it's only this try to verify due date as I doubt this only as per screenshot provided.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Hello @Viraj Hudlikar. I just set the due date to "none" just to rule this out. It still sets the value to cancelled when the approver rejects.

Hello @DanielG 
Ok that rules out now did you cross check is this happening on other approvals which are triggered from flow?
Also, in your instance is there any custom setup done where approval is marked rejected set approval to cancelled it can be through BR or any custom flow written on approval table.

You can turn on script tracer and perform approval and see what BR or script reverting approval from reject to cancelled.

 

https://youtu.be/m6Jg4JuVpIQ?si=88YaY5MZyT8fme23

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Hello @DanielG 

 

I believe you are doing great.

I just got chance to replicate the scenario, but my approvals are not mark as cancelled even if it is rejected. I request you to recreate the subflow you are calling from your flow which I assume by looking screenshot as shared by you earlier.

I created a flow as below which calls a subflow.

VirajHudlikar_0-1741276817192.png

 

Subflow as below

VirajHudlikar_1-1741276895333.png

VirajHudlikar_5-1741277163310.png

 

Now when I tested same here how my subflow worked.

 

VirajHudlikar_2-1741276985549.png

VirajHudlikar_3-1741277034772.png

VirajHudlikar_4-1741277083992.png

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.