- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025 04:14 AM
I have a requirement.
On a Catalog form, there is a Change Request reference field. So, when Catalog form gets submitted along with the Change Request number, an RITM gets created.
So, the requirement is, this RITM should be then linked on the Change Request Related List (change number which we gave on the Catalog form).
How should I achieve this with Run Script Code on WorkFlow ? I have created a workflow on sc_req_item table. But I will use Run script action and will write code.
I have written some code in Workflow but it is not working. Please help.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025 04:43 AM
current.parent = current.variables.change_request_number_1+'';
current.update();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025 04:43 AM
current.parent = current.variables.change_request_number_1+'';
current.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025 04:51 AM
Awesome Sandeep. Wonderful. Super. !!!
I am really very grateful for your help. God bless you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025 04:52 AM
@AbdurRahmanSnow Glad to know it worked for you 🙂