Cron Email - Multiple Conditions PHP

jsnider

Member
I have been able to set up scheduled cron emails that work great when I only have one condition. This condition works:

return '{issues___project}'=='Amistad Apartments';

I am trying to do a second condition, but when I add && or AND to the condition, it doesn't work. Can someone help me with the proper syntax to add another condition? Here is an example of what I have tried:

return '{issues___project}'=='Amistad Apartments' AND '{issues___status}'=='Open';

Thanks so much.
 
OK - as is the magic of the forum, as soon as I posted it, I found a string that worked. For others browsing through, here it is:

return '{issues___status_raw}'=='Open' AND '{issues___project}'=='Amistad Apartments';

The "raw" string seemed to help.

Thanks
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top