Avatar

Correct answer by
Level 2

Thanks to everyone who replied. I was on leave and could not reply back until now.

 

Since it was an urgent request at the time by our stakeholders I had to make it work on the same day as that was my last day before going into leave. So I moved the logic to the workflow itself as that was the quickest way to solve it at the time.  I did not have time to try out the suggestions before going into leave unfortunately.

 

So instead of using the AND ($$) condition in the email template I just moved the logic to the workflow and it is begin running fine since, however two different templates are used for each output of the workflow depending on whether the AND condition is true or false. It is a bit cumbersome but it worked.

 

I will provide the error details with the original approach once I had the time to check again

 

Thanks

Hugo

View solution in original post