Active
Project:
Multistep (D7)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2011 at 01:35 UTC
Updated:
29 Jun 2012 at 05:59 UTC
Jump to comment: Most recent
I tried to create a rule that send an email when all steps have completed, using this:
Event: Content is going to be saved
Condition: Content will complete
Action: send email
However, this does not work. In my case an email is send every time the next step button is clicked.
Apparently the rules integration does not recognize which step is the last step.
Has anyone been successful in getting this to work in D7?
Thanks
Comments
Comment #1
Yuri commentedBy the way: after updating to the latest Rules version, the trigger description has changed:
Event: (Node) Before saving content
Condition: (Multistep) content will complete
etc.
Now after submitting the first step of the form, the rule is already triggered. not on the following steps. And, also on the last step when the form is completed. So we're getting closer, just need to get rid of the trigger at the first step....
Please, any help is very welcome.
Comment #3
dreamingX commentedAs I will be tackling a similar problem soon: Isn't it possible to add another condition (checking if the field_X is empty) whereby the field_X is one of the fields that are part of the last step?
This would of course work only with node/add and not with node/?/edit.. (in my case I don't even want to have a multistep on node/?/edit)
Btw: I don't even know at this moment if it is possible to use multistep only at node/add ;)
Another kind of workaround solution would be to add a value to a temp field when the first rule is triggered (condition: temp field is empty) and then use the temp field as part of condition to rule that is triggered at the end (this rule should then clear the temp field).
Comment #4
jeremymcminn commentedI am also having this same problem, email is not being triggered to send when I look in the database log.
Any ideas what the problem could be?
Comment #5
tanvirahmad commentedSame issue..........:(
Comment #6
rohitrajputsahab commentedIn step#1 a mail was trigger on registration page. Please me how to stop this?