Hide Activity Sets under Tasks/To Dos tab based on State on HRM ticket Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2023 12:28 AM - edited 04-14-2023 12:37 AM
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.
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.
@Ankur Bawiskar @Susan Britt @Community Alums
- Labels:
-
HR Service Delivery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2023 08:11 PM
Here is the state filter I was referring to.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 01:53 AM
Hi @Ram33843094 ,
It's a big NO NO!!
You cannot run any script to group all the activity containers in one activity set.