BizTalk Developer Interview Questions and Answers - Business Rule Engine

BizTalk Developer Interview Questions and Answers - Business Rule Engine


This article intends to cover the answers to BRE related questions, which a BizTalk developer can face at during an interview.

Questions and Answers

  1. What is Business Rules Engine?
    A run-time inference engine that can link highly readable, declarative, semantically rich rules to any business objects (.NET components), XML documents, or database tables. It can evaluate rules against facts and initiate actions based on the results of that evaluation.

  2. What is the tool that I need to use to create Business Rules?
    You need to use the Business Rules Composer. This is a graphic tool used for authoring, versioning, and deploying policies and vocabularies.

  3. What is Business Rule Language?
    It is a rule markup language in XML format for declarative rule definitions.

  4. How can I execute a Business Rule in my orchestration?
    Using the Call Rules Shape. See more here.

  5. What is used to create new vocabulary definition?
     Vocabulary Definition Wizard is used to create vocabulary definitions.

  6. What is a Policy?
    A policy is a logical grouping of rules. You compose a version of a policy, save it, test it by applying it to facts, and, when you are satisfied with the results, publish it and deploy it to a production environment. See more here.

  7. Is it possible to change Business Rule policy after it was published?
    No. After policies are published it can't be edited.But if there is a need to have change in policy then new version of policy is to be created.

  8. Does rule composer have provision of adding ELSE logic?
    No, there is no provision of adding ELSE but else logic can implemented with extra IF.

  9. What is Long term fact and Short Term fact?
    Fact is the user data to which rule conditions are applied. At design time a fact is a reference to that data.
    Facts have two categories – Short Term Facts and Long Term Facts. Consider a loaning process of any Bank. We can think a “loan application” as short term fact. Short team facts are business information which changes per occurrence. On the contrary, “interest rates” do not change very regularly. This business information is steady and we can consider it a long term fact. See more here.

  10. What is the difference between Publishing and Deploying the Rule ?
    Rule alone cannot be published or deployed , it has to be wrapped under Policy and then published and deployed. When policy is deployed it is ready to use and can't be edited whereas when published, policy aren't ready for use .

  11. Can we call policies from .Net code?
    Yes. Firstly it needs to be declared (policy name which is to be called), passed in the fact instance and finally executed. 

  12. Can we call specific version of Policy using Call rule shape in Orchestration?
    No, as the call rules shape calls the latest version of the policy deployed.

  13. What is purpose of BizTalkRuleEngineDb?
    This database is a repository for:
    Policies, which are sets of related rules
    Vocabularies, which are collections of user-friendly, domain-specific names for data references in rules.

  14. Is there limit for versions of policies ?

  15. What is Rete Algorithm, does it have any relation with BRE?
    Rete Algorithm is an efficient pattern matching algorithm for implementing production rule systems. BRE's inner working is based on Rete algorithm.

  16. How does it differ, calling policy in Call Rules Shape and in Expression ?
    The Call Rules shape in the Orchestration calls only the latest version of the policy. To call an older (specific) version from within an orchestration, the Business Rules Framework APIs is used, which can be called from within an expression.


Maheshkumar S. Tiwari
iVision Software Pvt Ltd


See Also

Read suggested related topics:

Another important place to find a huge amount of BizTalk related articles is the TechNet Wiki itself. The best entry point is BizTalk Server Resources on the TechNet Wiki.

Leave a Comment
  • Please add 4 and 4 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Page 2 of 3 (21 items) 123
Wikis - Comment List
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
  • Maheshkumar S Tiwari edited Revision 26. Comment: minor edit

  • Maheshkumar S Tiwari edited Revision 27. Comment: Added Q17

  • Maheshkumar S Tiwari edited Revision 28. Comment: Added answer 14

  • Maheshkumar S Tiwari edited Revision 29. Comment: minor edit

  • Maheshkumar S Tiwari edited Revision 30. Comment: Added answer 17

  • Maheshkumar S Tiwari edited Revision 31. Comment: Editted HTML

  • Maheshkumar S Tiwari edited Revision 34. Comment: corrected first link of suggested section

  • Maheshkumar S Tiwari edited Revision 36. Comment: Added tags

Page 2 of 2 (23 items) 12