You are viewing limited content. For full access, please sign in.

Question

Question

Can I use Math Expressions in Condition Value Text?

asked on June 23, 2014

Would such a wait condition work?  For example:

 

Entry : Field (Field1) (For Each Entry::Current Entry) is less than or equal to %Date + 1

 

So the Date + 1 is what I'm wondering if I can do.  Or is it advised that I make that calculation in a separate Token calculator activity?

 

Thanks in advance for any help,

John

0 0

Answer

SELECTED ANSWER
replied on June 23, 2014

You should use the Date Token Calculator to create another date token, %(date)+1 will not work (ie today it would be "6/23/2014 +1")

0 0

Replies

replied on June 23, 2014

You cannot use operators in conditional expressions, just functions. Since no function such as DelayedBy exists, you need to calculate a token in the first place.

 

If you expect your workflow instances to run for quite a while, take note that computing to token outside the loop can lead to improper behaviors.

0 0
replied on June 23, 2014

Thank you both for your responses; you have answered my question.

The token will be calculated inside the loop, so I should be fine there.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.