Hide Activity Sets under Tasks/To Dos tab based on State on HRM ticket Page

Ram33843094
Tera Contributor

Need to Hide Activity Sets under Tasks/To Dos tab based on State on HRM ticket Page.

 

As per the below screenshot, Onboarding II Activity Set is in "Running Activities" state and rest of the activity sets like Pre-Hire, Rate/Extension or Onboarding III are in "Awaiting trigger" state.

So, I would like to hide all the "Awaiting trigger" Activity sets and display only Running Activities state activity sets. Is it possible to do this?

 

Note : The below shown "Awaiting trigger" activity sets are not part of this flow at all, since I used 2 similar "parent case opened for" templates in all activity sets and  they are visible for "Opened for" Assignee even if I dont trigger that particular activity sets.

 

Ram33843094_0-1681456776385.png

 

As stated, In the above screenshots For Prehire and Onboarding III, there shouldnt be any tasks visible, since that activity sets has not been triggered at all, but since I used 2 similar "parent case opened for" templates in all activity sets and  they are visible for "Opened for" Assignee even if I dont trigger that particular activity sets.

 

Thats the reason Im trying to hide "Awaiting Trigger " state activity sets, or please let me know if there is any other way to resolve this.

Ram33843094_0-1681457500434.png

 

Ram33843094_1-1681457550339.png

 

 

@Ankur Bawiskar @Susan Britt @Community Alums 

 

6 REPLIES 6

Here is the state filter I was referring to.

Screenshot 2023-04-25 at 8.33.30 AM.png

Please be informed that once you will change this Script include, some Restricted Caller Access records may get generated. You will have to allow those records to eliminate any errors which get generated after making this change.

Screenshot 2023-04-22 at 3.59.00 PM.png

Community Alums
Not applicable

Hi @Ram33843094 ,

 It's a big NO NO!!

You cannot run any script to group all the activity containers in one activity set.