Variables value automatically removed when I save the sc_task

ashutoshgup
Tera Contributor

I have created 2 variables which are hide from catalogue item view and ritm view but visible in sc_ task , when end user full values in these variables and save the record then value will remove from there .

 

There is no ui policy or client script but still I don't know how values are removed from variables in task 

3 REPLIES 3

Tanushree Maiti
Kilo Patron

Hi @ashutoshgup 

 

Check if any client script is in place for your catalog item on sc_task  .

If yes , check the advance script-> check whether  those variable value is getting clear at any condition/without condition.

 

Also check  if any update BR on sc_task for your catalog is there..

 

 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Already check client script and br atill

SravanKumar Th1
Tera Contributor

 

ServiceNow re-renders the variable editor from RITM data, not from the task
Since the variable was never saved to the RITM, the value is cleared

This behavior is out‑of‑box.

Please let me know if you need more details.