The condition to count the number of Tasks in My active items widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2023 04:57 PM
Hi, all! I'm studying Employee Center, and I want to know how I display the number of Tasks in My active items widget.
What are tables and conditions are related with the widget?
Does anyone have some answer to this question?
Any help would be greatly appreciated!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2023 08:30 PM
Hi Daichi,
If you are an admin in your instance, you can CTR+Right Click on a widget to open a configuration window:
I'm not an expert exactly at parsing this widget for useful information, but this may help on your journey!
-Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2023 12:33 AM
Thanks for your quick reply!!
I checked the script and found that c.primaryActivity.itemCount is related with the count.
I have to consider about that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2023 03:44 AM
Thank you for your quick reply!!
I checked scripts from [Widget in Editor] as you shared, and found that the count was related the value below.
c.primaryActivity.itemCount
I will think about that continuously.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2023 05:19 AM
Hey @Daichi Ishikawa
Also if you weren't aware, this widget is generally controlled from it's own dedicated module in the platform.
Employee Center -> Activity Configuration
Here you can create records to tables with filters, to render submenus/items in the widget itself 🙂