Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

How to hide declarative action button based on condition ?

KiranSharaV
ServiceNow Employee

im facing issue with the declarative action script condition, usually when the declarative action is on related list we can pass the parent object to script include, but im not able to access the parent object in script condition, please help me if know the reason for this .

1 REPLY 1

Tanushree Maiti
Kilo Patron

Hi @KiranSharaV 

 

Check this post . Instead of using role , using group in script condition , other member has able to hide it . 

 

https://www.servicenow.com/community/developer-forum/how-to-hide-a-declarative-action-for-a-specific...

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: