Reject button not working

aalarco4
Mega Contributor

On our approvals for Service Catalog items, the "Reject" button on the bottom of the form does not work properly. I have looked into the html code for the page and both buttons, top and bottom, call the same function (the reject() function on the OOB "Reject" UI Action). The top button will reject the approval and move the approval to the next step. If the bottom reject button is clicked, it will lead to a different page and then it will not reject the approval. I tried this first with an itil user and produced the same result when I tried as an admin. Has anyone else experienced this issue?

The first screenshot that I have attached is the button I'm referring to and the second image is the page that loads if you click on the bottom "Reject" button.

reject button.jpg
find_real_file.png

14 REPLIES 14

aalarco4
Mega Contributor

I had this problem but only in my DEV instance, not PROD. In November, we cloned PROD over DEV and now DEV is not having this issue. I was having other issues with DEV so I think there was a corruption somewhere. I'd try this change in PROD to see if it works and if it does, then consider cloning PROD over DEV.


teomas1
Kilo Contributor

I changed the function names and It works.


JenniferS1
Kilo Contributor

Hello,

I am having the same issue for Changes in my DEV instance. But the issue is not occuring in our TEST instance. Both instances are on Calgary Patch 1. I checked the ui actions in each instance and they are exactly the same. Does anyone have any ideas why this would be happening?

Thank you.


Are you using reject() or rejectApproval()? I'm using rejectApproval() on Calgary patch 5 and it works without issue.


carlos_ramirez-
Kilo Explorer

In my case the UI Script containing the Reject function unexpectedly had Global set to false. Setting it to true solved the problem.