Skip to content

Commit f058bae

Browse files
author
ecfan
committed
Fix Acrolinx validation errors
1 parent d4a84a1 commit f058bae

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

articles/logic-apps/rules-engine/build-fact-creators-retrievers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ You can design your fact retriever with the required application-specific logic
6868

6969
1. Specify the logic to refresh or assert new long-term fact instances into the engine.
7070

71-
The engine uses the initially asserted and consequently cached values on subsequent execution cycles until those values are updated.
71+
The engine uses the initially asserted and cached values on subsequent execution cycles until those values are updated.
7272

7373
The fact retriever implementation returns an object that is analogous to a token that the retriever can use with the **factsHandleIn** object to determine whether to update existing facts or assert new facts. When a ruleset version calls the fact retriever for the first time, the **factsHandleIn** object is always set to null, but takes on the return object's value after the fact retriever completes execution.
7474

@@ -121,11 +121,11 @@ To include the following capabilities, write your own code implementation:
121121

122122
- Determine when to update the long-term facts.
123123

124-
- Track which rules engine instance uses which long-term facts.
124+
- Track whichever rules engine instance uses whichever long-term facts.
125125

126126
## Specify a fact retriever for a ruleset
127127

128-
To set up fact retriever for your rulet version, you can either [set the Fact Retriever property in the Microsoft Rules Composer](perform-advanced-ruleset-tasks.md#set-up-fact-retriever), or write your own code as shown in the following example, which uses a class named "MyFactRetriever" in the assembly named "MyAssembly":
128+
To set up fact retriever for your ruleset version, you can either [set the Fact Retriever property in the Microsoft Rules Composer](perform-advanced-ruleset-tasks.md#set-up-fact-retriever), or write your own code as shown in the following example, which uses a class named "MyFactRetriever" in the assembly named "MyAssembly":
129129

130130
```csharp
131131
RuleEngineComponentConfiguration fr = new RuleEngineComponentConfiguration("MyAssembly", "MyFactRetriever");

articles/logic-apps/rules-engine/create-manage-vocabularies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ After you add definitions to a vocabulary version, you can create a new empty vo
112112

113113
1. Open the new vocabulary version's shortcut menu, and select **Save**.
114114

115-
You can now copy vocabulary definitions from other vocabulary versions and paste them into the new version.
115+
You can now copy vocabulary definitions from other vocabulary versions, and paste them into the new version.
116116

117117
## Rename a vocabulary
118118

articles/logic-apps/rules-engine/perform-advanced-ruleset-tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ After you add rules to a ruleset version, you can create a new empty ruleset ver
5454

5555
1. Open the new ruleset version's shortcut menu, and select **Save**.
5656

57-
You can now copy rules from other rulest versions versions and paste them into the new version.
57+
You can now copy rules from other rulset versions, and paste them into the new version.
5858

5959
## Pass fact types to a ruleset
6060

articles/logic-apps/rules-engine/rules-engine-optimization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ When the **Fact1** fact, which has a value of 1, is asserted into the engine, bo
167167

168168
### Priority
169169

170-
By default, all rules are set to 0 as the priority for execution. However, you can change this priority on each individual rule. The priority can range to either side of 0 with larger numbers having higher priority. Tjhe engine executes actions from highest priority to lowest priority.
170+
By default, all rules are set to 0 as the priority for execution. However, you can change this priority on each individual rule. The priority can range to either side of 0 with larger numbers having higher priority. The engine executes actions from highest priority to lowest priority.
171171

172172
The following example shows how priority affects the order execution for rules:
173173

@@ -251,7 +251,7 @@ The following list provides possible workarounds for this problem:
251251

252252
- Develop a helper component that performs the **OR** operations and returns a Boolean value, and then use the component in the rule.
253253

254-
- Split the rule into multiple rules and have the rules check for a flag set by a previously executed rule, or use an object that is asserted by a previously executed rule, for example:
254+
- Split the rule into multiple rules and have the rules check for a flag set by a previously executed rule, or use an object that a previously executed rule asserted, for example:
255255

256256
- **Rule 1**: `IF (a == 1 OR a == 3) THEN b = true`
257257

articles/logic-apps/rules-engine/test-rulesets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The following table describes the information in this entry:
9898
|------|-------------|
9999
| **Rule Engine Instance Identifier** | A unique identifier for the **RuleEngine** instance that provides the execution environment for the rule firing. |
100100
| **Ruleset Name** | The name of the ruleset. |
101-
| **Operation** | There following operation types can occur in a fact activity: <br><br>- **Assert**: A fact is addeded to working memory. **Note**: If the type for an asserted fact doesn't match any of the types used in the ruleset, the Assert operation shows the error "**Assert – Fact Unrecognized**". <br><br>- **Update**: A fact is updated by a rule and then must be reasserted into the engine for reevaluation, based on the new data and state. <br><br>- **Retract**: A fact is removed from working memory. |
101+
| **Operation** | The following operation types can occur in a fact activity: <br><br>- **Assert**: A fact is added to working memory. **Note**: If the type for an asserted fact doesn't match any of the types used in the ruleset, the **Assert** function shows the error "**Assert – Fact Unrecognized**". <br><br>- **Update**: A rule updates a fact, which must then be reasserted into the engine for reevaluation, based on the new data and state. <br><br>- **Retract**: A fact is removed from working memory. |
102102
| **Object Type** | The fact type for a particular activity: - **TypedXmlDocument** <br><br>Assertions are shown for both parent and child **TypedXmlDocument** instances. |
103103
| **Object Instance Identifier** | The unique instance ID for the fact reference. |
104104

@@ -160,7 +160,7 @@ Conflict Resolution Criteria: 10
160160

161161
## Update function
162162

163-
This example shows a sample "InventoryCheck" rule and a "Ship" rule in a sample ruleset named "Order". When the rule is first checked, the condition associated with the "Ship" rule evaluates to **False**. However, when the "InventoryCheck" rule fires, the **InventoryAvailable** field on the **Order** is changed, and the **Update** command is issued to the engine for the "Order object", causing reevaluation for the "Ship" rule. This time, the condition evaluates to **True**, and the "Ship" rule fires.
163+
This example shows a sample "InventoryCheck" rule and a "Ship" rule in a sample ruleset named "Order." When the rule is first checked, the condition associated with the "Ship" rule evaluates to **False**. However, when the "InventoryCheck" rule fires, the **InventoryAvailable** field on the **Order** is changed, and the **Update** command is issued to the engine for the "Order object", causing reevaluation for the "Ship" rule. This time, the condition evaluates to **True**, and the "Ship" rule fires.
164164

165165
> [!NOTE]
166166
>

0 commit comments

Comments
 (0)