Filtering a query based on an instance variable

Avatar

Avatar

matt-gardner

Avatar

matt-gardner

matt-gardner

24-07-2017

In my workflow I am populating an instance variable with the last run date:

instance.vars.last_run_date = new Date()

Each time this workflow runs it populates the variable. 

My question is - how do I use this variable in a query node target selection - I want to only pull back records where the expression modification date > instance.vars.last_run_date is true.

I cannot find examples of how to do this. Any pointers would be super helpful.

Cheers,

Matt

View Entire Topic

Avatar

Avatar

_nkur

Avatar

_nkur

_nkur

28-07-2017

Hi Matt,

Have you consider options for this? I think it would a much cleaner way.

Regards,

Ankur A.