1 / 18

Module 11: Integrating Business Rules

Module 11: Integrating Business Rules. Overview. Lesson 1: Introduction to Business Rules Lesson 2: Integrating Business Rules. Lesson 1: Introduction to Business Rules. What Are Business Rules? What Are Rules, Policies, and Vocabularies? How Rules and Facts Work

Télécharger la présentation

Module 11: Integrating Business Rules

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Module 11:Integrating Business Rules

  2. Overview • Lesson 1: Introduction to Business Rules • Lesson 2: Integrating Business Rules

  3. Lesson 1: Introduction to Business Rules • What Are Business Rules? • What Are Rules, Policies, and Vocabularies? • How Rules and Facts Work • Business Rules Orchestration Scenarios • Identifying Business Rule Personas

  4. What Are Business Rules? Business Rule Engine: Use business rules to: Enables policy changes inreal time Enables policy changeswithout recoding orrebuilding the orchestration Trigger notifications Automate approvals Reroute documents

  5. What Are Rules, Policies, and Vocabularies?

  6. How Rules and Facts Work Policy Rules Rule Set Conditions: true/false expressionwith predicates Actions: initiated when rule condition is met Facts: data upon which rules operate Rules Facts derived from: XML schemas SQL databases .NET classes Predefined andcustom vocabularies

  7. Business Rule Execution Facts are asserted 1 All rules are evaluated 2 If a rule evaluates to true, then its action is added to the agenda 3 Agenda actions are executed in order of their priority 4 Facts are retracted 5 If an action changes a fact that is part of the condition of another rule, then the affected rule will be re-evaluated.

  8. Business Rules Orchestration Scenarios LogicA LogicB Call Rules Call Rules Call Rules { } { } Preprocessing Preprocessing Decision Branch Rule-Based Send Rule-Based Delay Rule Else Post-Processing Post-Processing Post-Processing Call rule engine to dynamically determine which orchestration to process the next step Call rule engine for dynamic orvariable delays Call rule engine and determine path

  9. Identifying Business Rule Personas Information Workers Developers Use business vocabularies to design and test policies Integrate policies within an orchestration Define policiesand vocabularies Administrators Secure, deploy, and migrate policies Track policy execution

  10. Lesson 2: Integrating Business Rules • Steps for Integrating Business Rules • Composing Business Rules • Demonstration: Using the Business Rule Composer • Deploying Business Rules • Integrating Business Rules into an Orchestration • Demonstration: Integrating Business Rules intoan Orchestration • Tracking Business Rule Policy Execution

  11. Steps for Integrating Business Rules Identify the business logic to be represented 1 Identify data sources for rule elements 2 Create rules from vocabulary definitions 3 Test and debug with sample facts 4 Publish and deploy the policy 5 Call the policy from within the orchestration 6

  12. Composing Business Rules Create versionsof vocabularies Create vocabulary definitions Compose policies Publish vocabulariesand policies Policies Vocabularies Definitions Rule Composer

  13. Demonstration: Using the Business Rule Composer In this demonstration, you will see how to: Examine an existing business rule policy Test a business rule policy

  14. Deploying Business Rules Export policies or vocabularies Import policies and vocabularies Deploy policies and publish vocabularies Undeploy policies and remove vocabularies

  15. Integrating Business Rules into an Orchestration Call Order Level Add a Call Rule shape insidethe orchestration 1 ReceivePO Configure the policy and parameters on the Call Rules shape 2 Construct Order Process the results from the rules 3 MsgOrder Item in stock? Yes Else

  16. Demonstration: Integrating Business Rules into an Orchestration In this demonstration, you will see how to configure the Call Rules orchestration shape

  17. Tracking Business Rules Policy Execution Tracking Business Rules Use BizTalk Administration Console Monitor rule activities Track the progress of an orchestration that calls rules

  18. Lab: Integrating Business Rules • Exercise 1: Creating a Business Rule Engine Vocabulary • Exercise 2: Composing a Business Rule Policy • Exercise 3: Integrating a Business Rule Policy into an Orchestration

More Related