Thursday, November 29, 2007

BizTalk Server 2006 (13) Business Rules

Vocabulary:

  • Collection of definitions for rule conditions and actions
  • Assigns a friendly name to the definitions

Policy:

  • Contains logical grouping of rules
  • Are published and deployed to a production environment

Rule Store:

  • Place to store policies and vocabularies
  • Stored in SQL Server by default
  • Can be exported and imported to/from SQL Server

Rules Engine:

  • Applies rules to the available facts and evaluates the result
  • Determines the necessary actions to take based on the evaluation
  • Executes the action

Business Rules and Orchestrations

  • You can incorporate business rules within your orchestration to allow flexibility to read and process constantly changing values instead of having to recode/recompile the orchestration
  • Based on a business rule, you can determine when a process requires a delay

Steps to integrate business rules are as follows:

  • Identify the business logic to be represented
  • Identify data sources for rule elements
  • Create rules from vocabulary definitions
  • Test and debug with facts
  • Publish and deploy policy
  • Bind send and receive shapes to ports
  • Call the rule from within an orchestration

Steps to integrate business rules with an orchestration are as follows:

  • Add a reference to the rule engine assembly
  • Make the orchestration transactional
  • Add an atomic scope
  • Add a message assignment shape
  • Create a message instance

Professional BizTalk Server 2006

blog comments powered by Disqus