Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经阅读了关于此的相互矛盾的事情,所以在我开始工作之前,任何人都可以确认或以其他方式确认If语句是否可以在 BizTalk 表达式形状中工作?
If
是的,它们确实有效,我在 Biztalk 2006r2 表达式形状中使用了它们(IF() {} else {} 等)。
但是,您无法通过他们的编排来控制流程。您将需要为此使用决定形状(其作用类似于 IF 语句)。
我倾向于在表达式中使用 IF 语句来设置变量,例如:
if (somecondition) { somevariable = true; } else { somevariable = false; }
希望有帮助!