how to set variable field value into RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 10:02 PM
HI,
I have created single line text data type variable into Service request form, this field not visible into service request form. i want to set this field value as "fulfiller<windows user id of request for>" like fulfillerrequestforuserid into RITM and SCtask.
Thanks,
Deepa

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 10:14 PM
you can create an onSubmit client script and set the value as below
g_form.setValue('<field name>','fulfiller'+g_user.userName);
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 10:55 PM
Hi @BanuMahalakshmi,
If I am understanding correctly you want to update a field in RITM record with values from catalog form, you can accomplish this with flow designer.
In flow designer with Service Catalog trigger.
1. Select the action "Get catalog variables" - Fill in the required fields accordingly
2. Next select action "Update record" - to update the RITM record with the values retrieved above.
Subsequently to update fields in SCTASK you can use the variables retrieved previously.
Please do mark helpful if this helps.