- 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 08:49 AM
Hi,
You can try to put this in Record producer script as below
current.watch_list = producer.variables.user_to_be_added_to_watchlist;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2024 08:52 AM
The one using the record producer is still working. It's the user value for the RITM's.
It doesn't seem to be passing the user to the RITM for the business rule to run because the field is empty when I look at the RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2024 08:55 AM
Apologies, my bad.
Where is this BR? when does it run?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2024 08:59 AM
Runs on sc_req_item
'before'
no conditions
Insert & Update