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: