incident variable editor (formatter) if blank then hide the section

Debasis Pati
Tera Guru

I have added the incident variable editor(formatter ) in one section of my incident form for the sow view.

Now if the incident is created from record producer then the variables are showing in the variables section that is fine.

But if the record is created normally by clicking on new the record doesn't have any variables but the section variables is shown which is not required.
I want if there are no variables present in the Variables section it should not be visible how i can achieve this?

DebasisPati_0-1753245305135.png

 


@Ankur Bawiskar  any suggestions?

Regards,
Debasis

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@Debasis Pati 

you can use onLoad client script on that table and check if that record is normally created or via record producer then hide it

check this table "sc_item_produced_record"

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

@Debasis Pati 

Hope you are doing good.

Did my reply answer your question?

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

@Debasis Pati 

Hope you are doing good.

Did my reply answer your question?

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