# Campaign decision not working for open email

**URL:** <https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846>\
**Category:** Product Support\
**Created:** [February 20, 2016, 4:32pm UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846 "2016-02-20T16:32:42Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![nimesh](https://avatars.discourse-cdn.com/v4/letter/n/a5b964/32.png) [@nimesh](https://forum.mautic.org/u/nimesh)\
**Post date:** [February 20, 2016, 4:32pm UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846/1 "2016-02-20T16:32:42Z")

</div>

Hi Team,  
  
  
  
I am running below campaign where decision node(Open Email) always evaluates to NO path even after mail is read within 30 secs. I verified that mautic is able to detect email read in lead activities but still always takes NO path.  
  
  
  
  
  
  
  
 ![0c5f9a92-d81b-11e5-9898-299687255278.png](https://cloud.githubusercontent.com/assets/10060860/13197686/0c5f9a92-d81b-11e5-9898-299687255278.png)  
  
 ![97f54eda-d81b-11e5-9cb7-7633d3d17d2c.png](https://cloud.githubusercontent.com/assets/10060860/13197718/97f54eda-d81b-11e5-9cb7-7633d3d17d2c.png)  
  
  
  
I have below crontab set to run every one min  
  
  
  
php /var/www/html/1.2.0/app/console mautic:leadlists:update --env=prod  
  
php /var/www/html/1.2.0/app/console mautic:campaigns:update --env=prod -f  
  
php /var/www/html/1.2.0/app/console mautic:campaigns:trigger --env=prod -f  
  
php /var/www/html/1.2.0/app/console mautic:email:process --env=prod  
  
  
  
I try deleting cache, restart httpd, reinstall/install mautic(all versions 1.1.3, 1.2.0, 1.2.1, 1.2.2 as well) but nothing works. When I try the same campaign in cloud it works. Please help me find out the root cause?  
  
  
  
Thanks,  
  
Nimesh

---

<div class="post-metadata">

**Author:** ![giovanni](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/giovanni/32/577_2.png) [@giovanni](https://forum.mautic.org/u/giovanni)\
**Post date:** [June 20, 2016, 2:04pm UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846/2 "2016-06-20T14:04:26Z")

</div>

Hi I’m having the same issue in the mautic hosted system. So you’re saying that in an on premise installation this functionality should work?

---

<div class="post-metadata">

**Author:** ![tginformatica](https://avatars.discourse-cdn.com/v4/letter/t/85e7bf/32.png) [@tginformatica](https://forum.mautic.org/u/tginformatica)\
**Post date:** [April 7, 2016, 11:40am UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846/3 "2016-04-07T11:40:28Z")

</div>

Thank you, I will test and after post the result here.

---

<div class="post-metadata">

**Author:** ![tginformatica](https://avatars.discourse-cdn.com/v4/letter/t/85e7bf/32.png) [@tginformatica](https://forum.mautic.org/u/tginformatica)\
**Post date:** [April 7, 2016, 2:42pm UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846/4 "2016-04-07T14:42:42Z")

</div>

VIew image @pietromantovani

![](http://tginformatica.com.br/wp/wp-content/uploads/2016/04/teste-mautic.png)

---

<div class="post-metadata">

**Author:** ![pietromantovani](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@pietromantovani](https://forum.mautic.org/u/pietromantovani)\
**Post date:** [April 7, 2016, 2:48pm UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846/5 "2016-04-07T14:48:59Z")

</div>

Campaign seems OK, but have you setup the crons like I’ve told you?  
For example.

1 leadlists update to be executed at [every hour]:00  
2 campaign update to be executed at [every hour]:05  
3 trigger to be executed at [every hour]:10

---

<div class="post-metadata">

**Author:** ![tginformatica](https://avatars.discourse-cdn.com/v4/letter/t/85e7bf/32.png) [@tginformatica](https://forum.mautic.org/u/tginformatica)\
**Post date:** [April 6, 2016, 11:43pm UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846/6 "2016-04-06T23:43:19Z")

</div>

Hello pietromantovani,

I use DigitalOcean server, use the mautic 1.3.1.  
The cron would be \* \* \* \* \* (every minute)  
or 1 \* \* \* \* (first minute of every hour)

??

Tks

---

<div class="post-metadata">

**Author:** ![pietromantovani](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@pietromantovani](https://forum.mautic.org/u/pietromantovani)\
**Post date:** [April 7, 2016, 6:07am UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846/7 "2016-04-07T06:07:20Z")

</div>

@tginformatica It’s mandatory that the cron are executed in the exact order I’ve told you

1 leadlists update  
2 campaign update  
3 trigger

Set the interval of your choice, but use this sequence.

---

<div class="post-metadata">

**Author:** ![tginformatica](https://avatars.discourse-cdn.com/v4/letter/t/85e7bf/32.png) [@tginformatica](https://forum.mautic.org/u/tginformatica)\
**Post date:** [April 9, 2016, 1:41am UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846/8 "2016-04-09T01:41:31Z")

</div>

Hello @pietromantovani

I noticed that the open e-mails were not marked as read, it was then that I started researching more about traking mail.

The solution:  
In system settings, by default host is localhost, we had the idea to change the address of my domain and it worked.

Tks brother!

---

<div class="post-metadata">

**Author:** ![tginformatica](https://avatars.discourse-cdn.com/v4/letter/t/85e7bf/32.png) [@tginformatica](https://forum.mautic.org/u/tginformatica)\
**Post date:** [April 2, 2016, 8:21pm UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846/9 "2016-04-02T20:21:24Z")

</div>

Hello,

also am having the same problem , can anyone help?

tks !

---

<div class="post-metadata">

**Author:** ![nimesh](https://avatars.discourse-cdn.com/v4/letter/n/a5b964/32.png) [@nimesh](https://forum.mautic.org/u/nimesh)\
**Post date:** [February 20, 2016, 4:32pm UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846/10 "2016-02-20T16:32:42Z")

</div>

Hi Team,

I am running below campaign where decision node(Open Email) always evaluates to NO path even after mail is read within 30 secs. I verified that mautic is able to detect email read in lead activities but still always takes NO path.

![](https://cloud.githubusercontent.com/assets/10060860/13197686/0c5f9a92-d81b-11e5-9898-299687255278.png)  
 ![](https://cloud.githubusercontent.com/assets/10060860/13197718/97f54eda-d81b-11e5-9cb7-7633d3d17d2c.png)

I have below crontab set to run every one min

php /var/www/html/1.2.0/app/console mautic:leadlists:update --env=prod  
php /var/www/html/1.2.0/app/console mautic:campaigns:update --env=prod -f  
php /var/www/html/1.2.0/app/console mautic:campaigns:trigger --env=prod -f  
php /var/www/html/1.2.0/app/console mautic:email:process --env=prod

I try deleting cache, restart httpd, reinstall/install mautic(all versions 1.1.3, 1.2.0, 1.2.1, 1.2.2 as well) but nothing works. When I try the same campaign in cloud it works. Please help me find out the root cause?

Thanks,  
Nimesh

---

<div class="post-metadata">

**Author:** ![nimesh](https://avatars.discourse-cdn.com/v4/letter/n/a5b964/32.png) [@nimesh](https://forum.mautic.org/u/nimesh)\
**Post date:** [February 20, 2016, 4:33pm UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846/11 "2016-02-20T16:33:12Z")

</div>

I have also filed an issue at [https://github.com/mautic/mautic/issues/1454](https://github.com/mautic/mautic/issues/1454)

---

<div class="post-metadata">

**Author:** ![nimesh](https://avatars.discourse-cdn.com/v4/letter/n/a5b964/32.png) [@nimesh](https://forum.mautic.org/u/nimesh)\
**Post date:** [February 21, 2016, 6:02am UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846/12 "2016-02-21T06:02:03Z")

</div>

Can someone please take a look? This is very time critical so any help would be much appreciated.

---

<div class="post-metadata">

**Author:** ![pietromantovani](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@pietromantovani](https://forum.mautic.org/u/pietromantovani)\
**Post date:** [April 4, 2016, 7:44am UTC](https://forum.mautic.org/t/campaign-decision-not-working-for-open-email/5846/13 "2016-04-04T07:44:44Z")

</div>

I’m not a programmer, but from what you say I suspect a cron/trigger problem. When do you run cron? When you say 1 minute I hope you are setting something like this:

php /var/www/html/1.2.0/app/console mautic:leadlists:update --env=prod every 01h 00m  
php /var/www/html/1.2.0/app/console mautic:campaigns:update --env=prod -f every 01h 01m  
php /var/www/html/1.2.0/app/console mautic:campaigns:trigger --env=prod -f every 01h 02m

Right?
