Order of execution of rules in BizTalk BRE

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Order of execution of rules in BizTalk BRE

Viewing 1 reply thread
  • Author
    Posts
    • #23866

      Hello

      I want to use
      BizTalk BRE for my application.

      Can anyone explain
      me how the rule is being executed based on the priority?

       

      in then action if
      the value of one field got changed 5 times then what will be last
      updated value of one field.

       

       

      Take one example,

      IF tag a = 1 then
      tag b = 2

      If tag c = 3 then
      tag b = 3

      If tag d = 4 then
      tag a = 2

      if tag a = 2 then
      tag b = 5

       

       

      Can you explain
      how above condition will be executed? and what will be the last value
      of tag a, b and c?

      Thanks,

      Chirag Vyas

      Project Manager at TatvaSoft

       

       

    • #23892

      All rules must be execute. only thingh is the order..higher priority will execute first then lower …means that lower priority will overite the value.

      as per your example

      suppose input schema having a=1/b=1/c=1/d=1

      Rule1(if a=1 then b=2) after execute

                 schema a=1/b=2/c=1/d=1

      Rule 2(if c=3 then b=3) after execute

                 schema a=1/b=2/c=1/d=1

      Rule 3(if d=4 then a=2) after execute

                 schema a=1/b=2/c=1/d=1

      Rule 4(if a=2 then b=5) after execute

                 schema a=1/b=2/c=1/d=1

      Rules are execute very simple ways or isolated way …pass xml file / BRE will check(if condision) the element value give the new value(action or set)/ pass or update the schema….

      now we / developer have to think about ..priority on rule execusion… 

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