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.

Make mandatory benefit plan

Reena Kumari2
Tera Contributor

Hi Community,

 

My requirement is to check for benefit_plan record is attached or not on demand form, when demand is in submitted state and demand phase is in submission . So whenever the validate UI action will be clicked it will check for benefit plan is available or not , if not then make it mandatory.

 

Thanks,

Reena Kumari

1 REPLY 1

AshishKM
Kilo Patron
Kilo Patron

Hi @Reena Kumari2 , 

You can review the UI Action running on table [ dmn_demand ] and apply the desire logic of benefit_plan check.

Write code to check any record of current demand in this table [ benefit_plan ] else show the error message on screen. 

 

AshishKMishra_0-1707311836648.png

-Thanks,

AshishKM

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution