BRE

Viewing 1 reply thread
  • Author
    Posts
    • #23273

      I’ve a set of rules (around 2000) defined in the XML file.

      We are upgrading our application and using the biztalk 2009.

      Is there any way to import these rules directly from the exsistance XML into the BRE?

      I can transform the XML into the required format.

      Thanks.

       

    • #23274

      Yes you can use Biztalk Rule deployement tool by which u can Import rule if they were properly formatted

      • #23279

        I’m talking about the non-BRE format. This XML are predefined by Customer containing set of rules.
        The sample XML file below contains only few rules. It will be great if there is any way to convert XML file into BRE format XML programatically.
        The sample XML file is as follows which contains some rules:

        <?xml version=”1.0″?>
        <DataView Name=”CAQH Provider Application View” xmlns=”urn:GeoAccess.PDE.DataView”>
          <Structure Table=”Provider” Alias=”” MaxInstances=”1″>
            <Existence Type=”Required” MinInstances=”1″>
              <Message>Please select your provider type.</Message>
            </Existence> 
              <Field Name=”LastName” DateFormat=”Standard”>
              <Mask HardRule=”true” StripMask=”false”>
                <OutputMask />
                <Message>Last name must consist of one or more letters.</Message>
                <RegExpression>^([A-Za-z]+((\-|([\.’]?[ ]?))[A-Za-z]+)*\.?)|(“[A-Za-z]+((\-|([\.’]?[ ]?))[A-Za-z]+)*\.?”)$</RegExpression>
              </Mask>
              <Existence Type=”Required” MinInstances=”1″>
                <Message>Please indicate your Last Name.</Message>
              </Existence>
              <Translations />
            </Field>
            <Field Name=”FirstName” DateFormat=”Standard”>
              <Mask HardRule=”true” StripMask=”false”>
                <OutputMask />
                <Message>First name must consist of one or more letters.</Message>
                <RegExpression>^([A-Za-z]+((\-|([\.’]?[ ]?))[A-Za-z]+)*\.?)|(“[A-Za-z]+((\-|([\.’]?[ ]?))[A-Za-z]+)*\.?”)$</RegExpression>
              </Mask>
              <Existence Type=”Required” MinInstances=”1″>
                <Message>Please enter your First Name</Message>
              </Existence>
              <Translations />
            </Field>
            <Field Name=”MiddleName” DateFormat=”Standard”>
              <Mask HardRule=”true” StripMask=”false”>
                <OutputMask />
                <Message>Middle name must consist of one or more letters.</Message>
                <RegExpression>^([A-Za-z]+((\-|([\.’]?[ ]?))[A-Za-z]+)*\.?)|(“[A-Za-z]+((\-|([\.’]?[ ]?))[A-Za-z]+)*\.?”)$</RegExpression>
              </Mask>
              <Translations />
            </Field>
            <Field Name=”BirthDate” DateFormat=”Standard”>
              <Minimum HardRule=”true” Op=”None” ArgType=”Value”>
                <Operand>0</Operand>
                <ArgValue>1/1/1900</ArgValue>
                <Message>Your birth date must be January 1, 1900 or greater.</Message>
              </Minimum>
              <Existence Type=”Required” MinInstances=”1″>
                <Message>Please enter your birth date.</Message>
              </Existence>
              <Translations />
            </Field>
            <Field Name=”SSN” DateFormat=”Standard”>
              <Mask HardRule=”true” StripMask=”true”>
                <OutputMask>###-##-####</OutputMask>
                <Message>SSN must be 9 digits.</Message>
                <RegExpression>^(({\d\d\d}-{\d\d}-{\d\d\d\d})|({\d\d\d}{\d\d}{\d\d\d\d}))$</RegExpression>
              </Mask>
              <Existence Type=”Required” MinInstances=”1″>
                <Message>Please indicate your social security number.</Message>
              </Existence>
              <Translations />
            </Field>
         </Structure>
        </DataView>

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