- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2020 07:03 AM
Hi Friends,
Please help me with my below requirement.
I have a list collector variable xyz in abc variable set. This variable refers sys_user table.
how can we map the users in xyz variable to watch_list field on RITM notes section (after submitting the request).
I guess we can create catelog client script on variable set and get the value of xyz variable and send to script include and then there we can map these value with watchlist.
I am unable to implement the code, so could someone please help me with the code.
Thanks
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2020 08:10 AM
Thanks for the update Kumaraj. No worries. Below, please find the solution that I shared with you.
Create a Before business rule with Script as:
current.watch_list = current.variables.xyz;
Let me know if that answered your question. If so, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
- Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2020 04:26 AM
Thank you Ankur for all your time and suggestion. Yes, that way we can accurate the requirement.
I created the Business rule and add the condition that if item name is any of those 50 items name then it BR will trigger, so It will work only for those specific catalog item.
But thank you so much for giving me so many thought and idea, it really helped me to analyze the thing in better way.
