Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Workflow to change event type
#1
According to the: http://corebos.org/development/view.php?id=289#bugnotes

- I'm trying to set workflow to change event type to past due. I tried with due date is < get_date('today'), but its not working.

edit: Works - it should be "today".


Attached Files Thumbnail(s)
       
Reply
#2
Why with "is less than today" activity is changing for today too? Also, i dont understand why it doesnt work with "due date is yestarday" - its changing today activities too.
Reply
#3
Try using evalwf.php helper script, it is really useful in terms of understanding what the application is doing as it shows you exactly what SQL it will execute to obtain the records.

copy build/HelperScripts/evalwf.php to the root of your install (where config.inc.php is)

call it in the browser passing in the workflowid of the workflow you want to evaluate

it will return information about the work to be done

I remember having a hard time understanding the different options and I still use evalwf each time I need to setup one of these.

Try that and let us know how it goes.
Joe
TSolucio
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)