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.

Hide/Show UI Action using UI Policy

Abhijit Das7
Tera Expert

Hi Everyone,

 

I want to hide/show UI Action using UI Policy. If status of record is deleted then it should hide UI action otherwise it should be visible.

 

UI Action:

Name = Knowledge Article

Action Name = instruct_knowledge

 

8881.JPG

 

I used above method, somehow it is not working.

 

cc: @Ankur Bawiskar @kamlesh kjmar 

 

Thanks in advance

16 REPLIES 16

@Abhijit Das7 

Did you try the approach I shared 56mins ago?

It should work fine

Use Create Knowledge Article instead of instruct_knowledge in script where you are checking the indexOf

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

ServiceNow KT
Tera Expert