- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2017 10:32 AM
I want to run Business Rule only for service now form (Approval form) not to Service portal Approval Form
if ((current.comments == '') || (current.u_rejection_reason == '')) {
gs.addInfoMessage('Comments and Rejection reason are required to reject a change request');
current.state = previous.state;
current.setAbortAction(true);
}
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2017 10:44 AM
HI Manisha,
just create a field in back end and update that field from service portal and add the condition in business rule
Thanks
Chandu Telu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2017 10:44 AM
HI Manisha,
just create a field in back end and update that field from service portal and add the condition in business rule
Thanks
Chandu Telu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2017 10:47 AM
Hi,
Utilize GlideURI to get the /sp in the URL and then add it in the condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2018 08:37 AM
Hi Saprem,
That link isn't working. Could you give me an example. I need this exact thing for a requirement.