- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2020 04:28 AM
Hello,
I need to push the below variable on a catalog item into the work notes on said item when it has been submitted, is this possible?
Anything that is added to this box:
Needs to be pushed into the work notes on sc_req_item:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2020 04:32 AM
You can do this via a Run Script in the workflow that is running on this RITM, or an after update business rule on sc_req_item if this catalog item doesn't have a workflow.
current.work_notes = current.variables.rationale;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2020 04:32 AM
You can do this via a Run Script in the workflow that is running on this RITM, or an after update business rule on sc_req_item if this catalog item doesn't have a workflow.
current.work_notes = current.variables.rationale;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2020 06:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2020 07:29 AM
The variable contents are all that is being copied into the work note field, but since this has the type of Journal Input, it's adding the user and timestamp. If you view the work notes on the RITM record, it's presented in a clear format, but the only way to not see this, especially on a list view, is to use a string field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2020 04:35 AM
Hi,
either use workflow run script to set it or Before insert BR
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader