Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
workflow with delay - modified date
#1
I created a new workflow to send a email 7 days after last modified date

but system sent email always workflow is executed

I scheduled my workflow to shedule, on some days of week, only

What I did wrong?


Attached Files Thumbnail(s)
       
Ranieri
eCRM Web
Reply
#2
There are no conditions on the workflow, so it will execute for all records. The delay simply indicates that if a task should be done, don't do it now, but in "delay" days, it is not a condition.

Add a condition on your workflow to get only those leads that have not been modified in the last 7 days or less:

http://corebos.org/documentation/doku.ph..._workflows
Joe
TSolucio
Reply
#3
Ah, ok.

Like this?

sub_days(modifiedtime , 7)
Ranieri
eCRM Web
Reply
#4
No, expression don't work in general in scheduled workflows because they cannot be translated directly to SQL.

You have to use "Less than X days ago" (see wiki link above)
Joe
TSolucio
Reply
#5
But the Modify Date field is now treated as time ....


Attached Files Thumbnail(s)
   
Ranieri
eCRM Web
Reply
#6
that is not the workflow conditions but the specific task conditions. the scheduler conditions are defined on the workflow, please try there
Joe
TSolucio
Reply
#7
Is the same


Attached Files Thumbnail(s)
   
Ranieri
eCRM Web
Reply
#8
then use hours
Joe
TSolucio
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)