How to set variables back to previous values after current.setAbortAction(true); in Business rules.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2017 02:04 AM
How to set variables back to previous values after current.setAbortAction(true); in Business rules.
After current.setAbortAction(true); form is not submitted, but priority was p4 and i changed to p5 and submitted, but it aborted form submission and priority is p5, i want it it change back to p4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2017 02:08 AM
Hi,
Add this line
current.priority = previous.priority;
current.setAbortAction(true);
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2017 02:10 AM
I tried this but not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2017 02:18 AM
Also you should put this line of code above setAbortAction();
Have you put it after abort?
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2017 02:13 AM
Are you changing priority directly? Or was it impact and urgency?
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response