Hide a playbook activity from users, but still execute its flow

AnirudhKumar
Mega Sage
Mega Sage

Hello ServiceNow Jedis, Knights and Senseis,

 

I have a playbook with activities that rely on a lot of server data. The data need to ready before those activities even fire. To handle this, I have created an activity (call it Get All Info) that executes right at the beginning of the playbook. This activity fires off a subflow which get me all the server data I need and can feed to consecutive activities (via the pills).

 

Now, even I set my Get All Info activity as 'automated=true', it still shows on the playbook page.

Is there any way at all to hide it from showing on runtime, or maybe show only to admins.

 

hide activity playbook.PNG

1 ACCEPTED SOLUTION

benjamin shiao
ServiceNow Employee
ServiceNow Employee

 

Here is a method to control role based visibility on playbook activities:

 

see the sys_playbook_activity_renderer_list table, create a record, define roles required, filter a tagline on the activity.

all activities where you add the tagline, this record will control visibility

 

example where activity 1.2 would be only visible to admin:

the PAD activity config

benjaminshiao_1-1711478380750.png

the sys_playbook_activity_renderer record:

benjaminshiao_2-1711478416948.png

benjaminshiao_3-1711478424218.png

 

 

View solution in original post

7 REPLIES 7

JenHoward
Tera Contributor

I am also interested in whether or not this can be done. We have a couple of Automated Create Record and Automated Update Record activities that we would like to hide from end users as well. Have you had any luck making this work?

Nope.

benjamin shiao
ServiceNow Employee
ServiceNow Employee

 

Here is a method to control role based visibility on playbook activities:

 

see the sys_playbook_activity_renderer_list table, create a record, define roles required, filter a tagline on the activity.

all activities where you add the tagline, this record will control visibility

 

example where activity 1.2 would be only visible to admin:

the PAD activity config

benjaminshiao_1-1711478380750.png

the sys_playbook_activity_renderer record:

benjaminshiao_2-1711478416948.png

benjaminshiao_3-1711478424218.png

 

 

Benjamin buddy! you are awesome 😎