Expand my Community achievements bar.

Wondering how Workfront Proof works? Join our AMA on May 8th and ask our Community experts!
SOLVED

Optional filter date syntax

Avatar

Level 3

I have a task watch record module that I am trying to use the optional filter to capture only tasks that have an actual completion date of todays date.  

I have tried actualCompletionDate=now but it errors out.  Does anyone know the right syntax?

 

In addition, is there any documentation on using the optional filter?

 

Thanks in advance for any any all help.

 

Frank

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

What's the trigger then - if it's "tasks that completed today" I'd recommend the instant webhook- it fires right when the status changes and you don't have to do any filtering on date

View solution in original post

4 Replies

Avatar

Level 10

Hello Frank,

 

now represents the current time down to Milliseconds in ISO 8601 format.
You will therefore most likely never be able to run a scenario with this setting.

 

So you will need to work with the Greater than / Less than filters, to get a working trigger.

 

Regards

Lars

Avatar

Correct answer by
Community Advisor

What's the trigger then - if it's "tasks that completed today" I'd recommend the instant webhook- it fires right when the status changes and you don't have to do any filtering on date

Avatar

Level 3

Thank you @Sven-iX .  That sounds like an intriguing option.  I haven't used a instant webhook yet.  They seem a bit confusing.  I'll have to read up on exactly how to set them to capture task events.

Avatar

Community Advisor

There are 3 WF webhooks : Watch Events, Fields and records, respectively. 
A record = business object that is tracked

A field = specific field on a record

Event - any change/create/delete event on tracked objects.

 

They each have slightly different option, best to play with each one. The main difference is that the Watch Record/Field hooks only function by polling the accumulated events. They are never instant. 

The filtering on the Instant trigger is annoying because the UI doesn't support OR filters. The other modules are - annoying because you get to type in the text-mode filter yourself - but that also gives you some freedom.

 

Fusion/Workfront set up the event subscriptions automagically under the hood. You just put the trigger module in, and configure filters etc. then continue processing. 

Note: I would always set the "max events" to 1 - in some weird cases Fusion got duplicates (very rare - but baffling)

 

 

SveniX_0-1743110605571.png