什么是 'constraint or expression' vs 'constraint and expression' vs 'AND' vs 'OR'?
What is the 'constraint or expression' vs 'constraint and expression' vs 'AND' vs 'OR'?
在优先约束 window 中有约束、表达式、'constraint or expression'、'constraint and expression'.
的下拉列表
在底部有一个选项可以选择'AND'或'OR'。
我理解约束、表达,'constraint and expression'。 'constraint or expression' 的用例是什么?
When either of 'constraint and expression' or 'constraint or expression' is selected then what is the use case of OR in the choice box?
基本上,优先约束评估操作决定了必须如何评估优先约束。
如果我们只选择约束,那么表达式将被禁用。如果我们只选择表达式,值将被禁用。如果是“表达式或约束”或“表达式和约束”,则值和表达式都将启用。
In the below scenario, the previous task has to succeed or Expression should be successful, for the subsequent task to execute.
评价运算:
- 如果是约束表达式,则只评估约束(成功、失败、完成)
- 如果是表达式,则计算表达式
- 如果是“表达式和约束”或“表达式和约束”,则两者都被评估
- AND -> Constraint 和 Expression 都应该为真
- 或 -> 约束或表达式应为真
Evaluation operation Specify the evaluation operation that the
precedence constraint uses. The operations are: Constraint,
Expression, Expression and Constraint, and Expression or Constraint.
Value Specify the constraint value: Success, Failure, or Completion.
Note
The precedence constraint line is green for Success, highlighted for
Failure, and blue for Completion.
表达式 如果使用表达式、表达式和
Constraint,or Expression or Constraint,键入表达式或启动
Expression Builder 来创建表达式。表达式必须
评估为布尔值。
测试验证表达式。
逻辑与 Select 指定多个优先级约束
必须一起评估相同的可执行文件。所有约束必须
计算结果为真。
Note
This type of precedence constraint appears as a solid green,
highlighted or blue line.
逻辑或Select指定多个优先约束
必须一起评估相同的可执行文件。最后一个
约束必须评估为真。
Note
This type of precedence constraint appears as a dotted green,
highlighted, or blue line
在优先约束 window 中有约束、表达式、'constraint or expression'、'constraint and expression'.
的下拉列表在底部有一个选项可以选择'AND'或'OR'。
我理解约束、表达,'constraint and expression'。 'constraint or expression' 的用例是什么?
When either of 'constraint and expression' or 'constraint or expression' is selected then what is the use case of OR in the choice box?
基本上,优先约束评估操作决定了必须如何评估优先约束。
如果我们只选择约束,那么表达式将被禁用。如果我们只选择表达式,值将被禁用。如果是“表达式或约束”或“表达式和约束”,则值和表达式都将启用。
In the below scenario, the previous task has to succeed or Expression should be successful, for the subsequent task to execute.
评价运算:
- 如果是约束表达式,则只评估约束(成功、失败、完成)
- 如果是表达式,则计算表达式
- 如果是“表达式和约束”或“表达式和约束”,则两者都被评估
- AND -> Constraint 和 Expression 都应该为真
- 或 -> 约束或表达式应为真
Evaluation operation Specify the evaluation operation that the precedence constraint uses. The operations are: Constraint, Expression, Expression and Constraint, and Expression or Constraint.
Value Specify the constraint value: Success, Failure, or Completion.
Note The precedence constraint line is green for Success, highlighted for Failure, and blue for Completion.
表达式 如果使用表达式、表达式和 Constraint,or Expression or Constraint,键入表达式或启动 Expression Builder 来创建表达式。表达式必须 评估为布尔值。
测试验证表达式。
逻辑与 Select 指定多个优先级约束 必须一起评估相同的可执行文件。所有约束必须 计算结果为真。
Note This type of precedence constraint appears as a solid green, highlighted or blue line.
逻辑或Select指定多个优先约束 必须一起评估相同的可执行文件。最后一个 约束必须评估为真。
Note This type of precedence constraint appears as a dotted green, highlighted, or blue line