how to set variable field value into RITM

BanuMahalakshmi
Tera Contributor

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

 

2 REPLIES 2

SanjivMeher
Kilo Patron
Kilo Patron

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.

Bhavani Shankar
Tera Guru

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.

Regards,
Bhavani Shankar
Linked In