Access objectCategories only using a watch event trigger | Community
Skip to main content
Lawson02
Level 6
May 20, 2024
Solved

Access objectCategories only using a watch event trigger

  • May 20, 2024
  • 2 replies
  • 939 views

I want to check if a newly created task has a specific form in the objectCategories. Is there any way to access this variable without using an extra read record module? I can implement this using the read module but I would prefer to save 1 extra operation using a filter before I add the form, how would I access this variable prior using dot notation accessors, Is this even possible? Also could do this also in the filter of the watch event trigger?

 

An example would something like the screenshot below

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ChrisStephens

Unfortunately it's not possible to have this included from the webhook.

 

What I typically do instead is look at a custom field that is bespoke to that form that will always be populated and just check for that field. If there isn't a field, you can also add a custom field with a default value in an admin only section, then just check for that field.

2 replies

ChrisStephens
Community Advisor
ChrisStephensCommunity AdvisorAccepted solution
Community Advisor
May 22, 2024

Unfortunately it's not possible to have this included from the webhook.

 

What I typically do instead is look at a custom field that is bespoke to that form that will always be populated and just check for that field. If there isn't a field, you can also add a custom field with a default value in an admin only section, then just check for that field.

Level 2
July 10, 2024

I have noticed that when you have more than one custom form added to a project, Fusion will only see the id for the first one. I had assumed there would be an array of category ids when more than one was present but that is not the case. I assume this is a bug. I ended up using the same solution as Chris. Looking for a specific field that is used on a specific form is the way to go.

Level 3
July 10, 2024

Hi,

In my experience if you use the Workfront module named ‘Read Related Records’ and set the Collections to ‘objectCategories’  you can get all the Category IDs.

-Kelly

Level 2
July 10, 2024

Good to know. I have used that before to get folders from documents. Never thought of using it to get categories. Thanks!