Business rule to check requested user is active or Inactive ??
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2022 10:39 PM
Hello,
I want to write a business rule to check the user in requested by field is active or inactive, if Inactive I want to add a info message " user is Inactive".
please Help !!!
Regards,
Siddhesh
Labels:
- Labels:
-
Incident Management
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2022 10:46 PM
I am not sure which table requested by you are referring , But use below script to check user is active or not
if(current.requested_by.active == false)
{
gs.addInfoMessage("Your Message");
}
Mark Correct, if it helps.