Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to get task short description value in Multi Row Variable set

puneetgoels1
Tera Guru

I have a requirement to display / hide a variable in Multi Row Variableset on the basis of value of task's short description but I am not able to fetch it.  I know we can fetch value of a variable in parent form using g_service_catalog.parent.getValue but this does not help when I am trying to fetch short description or description of the task

 

2 REPLIES 2

Shruti
Giga Sage
Giga Sage

Hi,

Create a hidden variable and populate it with the task description value using onLoad client script

Use below to fetch description value

g_service_catalog.parent.getValue("hidden_variable_name")

 

Looking for something other than Jugaad 🙂