- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2022 06:33 AM
Hello Community,
As per my requirement there will be a task generated to security team and then user will get added to ad group . If once ritm state changes to closed complete then close notes should get updated. Please help me with this. Which activity i need to give in workflow , so that close notes of ritm will get updated .
script i have written :
var req_for = current.request.requested_for.getDisplayValue();
ritm.work_notes = ' User ' + current.variables.requested_by_zid + ' has been added to ' + current.cat_item.group.getDisplayValue() + ' as requested.
Please help me with this , once ritm gets closed complete then close notes should get updated.
Thanks,
Thanuja.
Solved! Go to Solution.
- Labels:
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2022 06:44 AM
What is your issue here?
You can leverage your Run script activity to update the work notes or close notes.
Instead of ritm.work_notes use current.work_notes
Copy as is:
var req_for = current.request.requested_for.getDisplayValue();
current.work_notes = ' User ' + current.variables.requested_by_zid + ' has been added to ' + current.cat_item.group.getDisplayValue() + ' as requested.
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2022 07:15 AM
Then add the Run script activity post "Set Values" - Completed activity just before end activity
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2022 07:25 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2022 09:26 AM
Share the screenshot of your script
Aman Kumar