AnsweredAssumed Answered

Searching a date range with variables

Question asked by Matty_1 on Feb 8, 2013
Latest reply on Feb 8, 2013 by philmodjunk

Title

Searching a date range with variables

Post

     I'm currently trying to search a date range with two variables.

     I have a global field where I select the monday of whichever week I wish to view.  I then have a trigger in that global field on object save that launches a script that first establishes the first day requested in the search by taking the day selected in the global field with a  set variable script step.  I then have a second variable which takes the date in the field and adds 4 days to establish a monday to friday range.  This all works.

     The hitch is in the perform find step.  I've put "$Date...$DateEnd" and for some reason this is returning exactly what I have in quotations instead of the dates established by the set variable steps.  I know that the set variable steps work properly because of the data viewer and I've modified the perform find step to search for "$Date" and "$DateEnd" on their own both work properly.

     This all stops when I try to combine both.  What am I missing?!

Outcomes