Expand my Community achievements bar.

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

Fusion: Watch events module including OR rule in filter

Avatar

Level 10

Hello,

 

As there is no possibility to add an OR rule directly into the event filter of the Watch Events module, I was wondering, if it is possible to do it in the value field directly using the operators under General functions.

 

Unfortunately I was not successful until now.

 

My goal is the following:

I want to create a scenario triggered by the modification of an isssue to a specific status.

 

The filter looks like this:

 

AND QueueTopicID EQUAL {{"queueTopicID1" | "queueTopicID2" | "queueTopicID3"}}

 

 

lgaertner_1-1704809041352.png

 

But this does not work unfortunately...

 

Thanks in advance.

 

Regards

Lars

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

4 Replies

Avatar

Community Advisor


Hi @lgaertner,

 

I suggest you try || vs | for OR:

 

AND QueueTopicID EQUAL {{"queueTopicID1" || "queueTopicID2" || "queueTopicID3"}}

Regards,

Doug

Hello Doug,

 

thank you for your answer. Unfortunately I made a mistake in my thread:

I originally set it up according to the screenshot and 

 

AND QueueTopicID EQUAL {{"queueTopicID1" | "queueTopicID2" | "queueTopicID3"}}

 

is what Fusion made of it internally and what I see, when checking the webhook settings again.

 

I also created a webhook using your syntax 

 

queueTopicID1 || queueTopicID2 || queueTopicID3

 

instead of

 

queueTopicID1 or queueTopicID2 or queueTopicID3

 

or

 

queueTopicID1 | queueTopicID2 | queueTopicID3

 


but this does not work as well...

 

So I fear that I need to filter in the next step... Although corresponding to the Event Subscription API it should be possible to use an OR operator (https://experienceleague.adobe.com/docs/workfront/using/adobe-workfront-api/event-subscriptions/even...).

 

I will contact the Fusion support concerning that...

 

 

Regards

Lars

Avatar

Community Advisor

It is possible to create a webhook with OR filters doing it with the raw API, but Fusion's webhook creator hasn't been updated for that new functionality, as far as I know. 

Avatar

Level 2
Level 2

Hi Lars,

Catching up on this one, did you manage to find a decent solution?

I'm about to create one listener per OR statement then link all to a scenario containing the logic but honestly....

I tried to do a PUT on the subscrition through the event sub API but PUT not supported : /

@ChrisStephens any chance this could be implemented?

 

Best Regards

 

Nicolas