The Zurich release has arrived! Interested in new features and functionalities? Click here for more

RITM backend table mandatory field -visibility

SivaranjaniR
ServiceNow Employee
ServiceNow Employee
 

I created a Service Catalog item using App Engine Studio. All variables were set as mandatory = false, and I used Catalog UI Policies (applied to both Catalog Item and Request Item) to make certain fields mandatory on the form.

However, when I submit the request:

  • The Request Item (RITM) gets created successfully.

    • A record is generated in the backend table.

    • Some backend fields are dictionary-mandatory but were not filled from the RITM.

    • These fields are also visible on the backend record form, even though no value was provided.

    Expected:
    If a value is not entered in the RITM, the backend fields should either remain hidden or not show up at all.

    Ask:

    • How can I ensure the backend fields stay hidden when no value is passed from the RITM?

    • Should I manage this with Flow Designer mapping, backend UI Policies, or adjust the table dictionary?

2fcf2b7d97c072d02af3fff3a253af1c.png

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@SivaranjaniR 

you can use separate onLoad catalog client scripts which Applies on Requested Item and hide the empty variables on RITM form

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