Expand my Community achievements bar.

Latest Community Ideas Review is Out: Discover What’s New and What to Expect!
SOLVED

Access objectCategories only using a watch event trigger

Avatar

Level 5

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

Lawson02_0-1716240672314.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

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.

Avatar

Level 2

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.

Avatar

Level 2

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

Avatar

Level 2

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