Biztalk Mapper

Viewing 1 reply thread
  • Author
    Posts
    • #18544

      Hi,

      How do you do an IF.. THEN in a the Biztalk mapper?

      I am trying to do the following..
      <Code>D</Code> (Souce schema)
      if <Code> = D then <Del> = E
      <Del>E</Del>(outbound schema)

      Thanks in advance.

    • #18547

      A few different ways are possible.  Mostly commonly, you’d use Value Mapping functoids.  There’s no explicit “if … else”, so you’d have two “equals” functoids connecting to two “value mapping” functoids.

      You could also accomplish this using the Scripting functoid and custom XSLT (although XSLT doesn’t have an if .. else either), or use a Scripting functoid and inline code.

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