more than 2 conditions in task

Simple advice that you may find useful. Feel free to discuss or add your own.
Post Reply
peter
Member
Posts: 35
Joined: Wed May 31, 2006 3:51 am
Location: Berlin , GER

more than 2 conditions in task

Post by peter »

Hi Scott,

I found that an AND operator has higher priority than OR in task conditions. Is there any possibility to get it working with higher prio for OR?

peter
ScottBot
Site Admin
Posts: 2786
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

Unfortunately in Tasks there is no condition grouping within a block to control the evaluation precedence. So you have to get a little creative with the order of the conditions in the task block or use multiple task blocks (else ifs) or even multiple Tasks (Task calling other Tasks) to get anything beyond the fairly simple logic to work. You may also want to consider running a Script to evaluate the condition and handling the logic in VB.

If you think it's a bug (not just a bi-product of the simple Task language), give me a specific example so I can test.
Scott
Post Reply