MRVS information getting removed once task form is saved

jnt-cnt
Mega Sage

Hi Community, 

I am facing an issue where if one of the client script (calling script includes too) is running, then the records where MRVS is stored ['sc_multi_row_question_answer'] is dissapearing. 

 

Are there similar issues faced by anyone else, and is there a workaround for this issue?

9 REPLIES 9

Rohit  Singh
Mega Sage

Hi @jnt-cnt ,

 

Check in the client script if it is clearing any value using g_form API. Also check other script section of UI policy where it is clearing any field.

 

If my response helped, please mark it helpful and accept the solution so that it benefits future readers.

 

Regards,
Rohit

Ankur Bawiskar
Tera Patron
Tera Patron

@jnt-cnt 

even if client script clears and if value is there in MRVS just before submitting then it should be stored in sc_multi_row_question_answer table.

Any server side script is clearing that MRVS?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

There are no clearing APIs.

I was wondering if this is another ServiceNow issue?

Values are missing for MRVS when the catalog client scripts are used. When an item is ordered from Portal, this issue can be observed on RITMs. 

Issues that you did not know about a multi-row var... - ServiceNow Community

 

We are not using Portal, just from service catalog but seems like a similar issue we are facing if i am not reading wrong. 

 

Also rather than API issue, data itself is getting cleared on sc_multi_row_question_answer

@jnt-cnt 

is this happening for other catalog items where MRVS is used? Is value coming in that table "sc_multi_row_question_answer "

did you try adding a new MRVS and submit and see if value is retained?

If it is able to retain the new MRVS data then it means something is clearing the value

In recent days I haven't faced any such issue?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader