How to write if condition in expression shape

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › How to write if condition in expression shape

Viewing 1 reply thread
  • Author
    Posts
    • #21130

      I have to write a if condition inside an expression shape to check whether and element in one schema is greater than an element in another schema, can anyone please tell me how to write the code inside an expression shape for this logic and is there any better approach to do this.

      Thanks

    • #21134

      The official way to add conditional logic to an orchestration is to use a decide shape.  However, you can add an if/else statement to an expression shape, you just don’t get intellisense for it.  The if/else code would be exactly like it would in C#.  For some reason this doesn’t work in a message assignment shape though.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.