Help with Workflow condition | XM Community
Skip to main content

Hello to all 

I need some help with this....

Create a flow so that if the embedded data T_pais is Argentina and the comment contains the word "Calor" or "Frio" send mail to whoever configure...
The problem is that it does not send the mail, it does not work the "Todas las siguientes son verdaderas” because if I remove this clause and only leave the "Algunas de las siguientes es verdadera", if it works and if it sends the mail...

 

 

But how do I set the condition if I also need to evaluate the country?

Thanks

I’m unable to understand the logic as most of it is in spanish, however, if your code is working for conditions and not for others, I would recommend moving them to the survey flow. 

For example, you could start with an ED call sendEmail and set its value to false. Then at the end, before end of survey, create a branch with your desired logic, and if it is true, set sendEmail’s value to true.

In your workflow, you could use the sendEmail ED to conrol the progress.


Hi @ahmedA 

Thank you for your explanation, 
I would like to continue with this workflow:
I'll explain in English what I need to do, and I'd be grateful if you could pass me an example: 
If in the question Cometarios contains the word Calor or contains the word Frio and the embedded data T_pais is Argentina, then you must continue with the task Send mail....

I hope I have been clear and thanks again


Hi @ahmedA 

I have already discovered where the error is ... thanks


Leave a Reply