1
Answers
Vote up!
0
Vote down!

Send email in rules not working together with data comparison

Hi.

Event : After updating an existing commerce order
Elements : Data comparison
Parameter: Data to compare: [commerce-order:status], Operator: is one of, Data value: Odottaa, Käsitellään, Valmis
(data value odottaa.. = pending, in progress, ready)..

Send mail
Parameter: To email: [commerce-order:mail], Subject : [site:name] [commerce..... with the text that you can input.

Cannot find why this is not working.
Normal email work when there is no Data to compare added.

What is wrong?
can this be something with the localisation? how to fix it.. the data values are from a list selected.

Asked by: moikka2
on September 1, 2012

Comments

Update: seems that even deleting all "data to compare" the email works only when creating the order. after it is done when admin goes and changes the status from pending to example in progress -> no email.

- moikka2 on September 1, 2012

Update 2. Got the final option : Ready to send the email with the setup, but still the pending and waiting statuses are not sending emails.

- moikka2 on September 2, 2012

1 Answer

Vote up!
0
Vote down!

Hi moikka2, you will need to start by looking at the rules debugging info. You can activate this by going to admin/config/workflow/rules/settings then choosing the always show debugging info checkbox. Have a look at what part if the rule is not evaluating as you expect.

Cheers
B

Answer by: BernieCram
Posted: Sep 12, 2012