- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2024 08:42 AM
I've been using a Variable Set to allow our users to add other users of their choice to the watchlist of Request Items and Incident (via a Record Producer)
This was working fine and still does for incident, but now the code for RITM doesn't work. The script for the business rule to add the user to the RITM is below. Tbh, the user value doesn't seem to be being passed to the RITM anymore.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2024 09:47 AM
Got it! Discrepancy between my variable name and my business rule.
Gaaaaaaaaaaaaaaaaaaaaaaaaaah.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2024 09:02 AM
Yes, that's right. It's a list collector on sys_user

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2024 09:09 AM
can you put in a couple log statements. One before the if with something like gs.log('in business rule'); and then one inside the if statement. Something like gs.log('in if'); Lets just make sure the business rule is being called and then make sure we are getting inside the if statement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2024 09:17 AM
OK, so this is my script now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2024 09:21 AM
OK, I can see the user value in the RITM now but it's still not passing to the watch list field.
How do I check the logs for the business rule?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2024 09:24 AM
Go to System Logs menu and then look for scripted log statements.