How to set value in expression of rule for scheme in orchestration?

Home Page Forums BizTalk 2004 – BizTalk 2010 How to set value in expression of rule for scheme in orchestration?

Viewing 1 reply thread
  • Author
    Posts
    • #26450

      I don’t know how to configure the expression of rule of Decide shape.

      My code for the expression is:

      Message_2.Article.Approved = false;

       

      XML code in scheme Article.xsd:

        <xs:element name="Approved">
        <xs:simpleType>
        <xs:restriction base="xs:boolean" /> 
        </xs:simpleType>
        </xs:element>

      The error is if' conditional must have boolean type.

      The Message Type of Message2 is BizTalk_Server_Project7.Article.

      And I have promoted Approved in Article scheme.

      What should I do to make Approved false or true?

    • #26453

      Hi, use the "==" operator instead of "=" in your expression in the rule shape.

      You should be all set.

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