Precedence Constraints Expression

  • I need to ensure the following conditions are True prior to executing the 2nd sequence container

    I have 2 variables @InputCount & @ActiveCount both int

    The condition is only if @InputCount !=0 AND @ActiveCount!=0 AND @InputCount == @ActiveCount then execute the next sequence container

    I have no problem if I just have "@InputCount !=0" as part of my expression BUT I need to include it as above.

    Im getting the following error mssg

    Error at Constraint: Attempt to parse the expression "(@[User::InputCount]!=0) AND (@[User::ActiveCount]!=0 ) AND

    @[User::InputCount] == @[User::ActiveCount] " failed. The expression might contain an invalid token, an incomplete token, or an invalid element. It might not be well-formed, or might be missing part of a required element such as a parenthesis.

  • Solved it, replaced AND with &&

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply