- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2016 03:50 AM
Hi Guys
I am having some problems with our workflow. If we approve at each level, the workflow works fine and goes through all the stages. However, if we reject at a approval level, it just stops. It should go to notification and then to end.
I have no idea why this is happening as just last week, this was working fine. On the actual status, it does appear as rejected too
Any help/tips would be greatly appreciated.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2016 12:45 AM
Hi,
I think the issue may be with script becoz if your script is setting wrong value when you click on reject then it wont work.
See your reject button sets values properly. Becoz activity.result='rejected' rite, so be sure that in your script you set it properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2016 04:05 AM
Hi Wilson,
Right-click on "rejected" and see condtion was filled with activity.result == 'rejected' or not.
Thanks and regards,
Swamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2016 04:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2016 10:54 PM
Hi Wilson,
I think that is an UI action for Reject button. Don't change the condition there. This issue is in Workflow so open the workflow, check out and in the approval-user activity, we have two connections i.e, approved and rejected. Please double-click on rejected link and see if the below value is present in condtion or not.
Thanks and regards,
Swamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2016 12:37 AM
Every approval makes entries into the sysapproval_approver table. Look for the records of your item. Below is a sample record of the sysapproval_approver table.
To look for your record check for the RITM number in the Approving field (the label might be different for you, document_id is internal name of the field). Click on reject and check if the state changes form REQUESTED to REJECTED.