Skip to content

Commit 8f4d161

Browse files
authored
Proof
1 parent dde0a45 commit 8f4d161

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/extensibility-api/csharp/extensibility-api-howtos/create-microflows-calculations.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ The `CreateMicroflows` method starts a new transaction by calling `currentApp.St
9595

9696
Use `IMicroflowService` to create microflows. For more information, see [Create a Microflow and Add Activities Using C#](/apidocs-mxsdk/apidocs/csharp-extensibility-api-11/create-microflow-add-activities/). It requires:
9797

98-
* `IModel` (the current mode),
98+
* `IModel` (the current mode)
9999
* `IFolderBase` (module or folder)
100100
* Microflow name
101101
* `MicroflowReturnValue` (optional)
102102

103-
A microflow returns a value with `IMicroflowExpression`. This can be done by using `IMicroflowExpressionService`, which returns an expression from a string input, and sets the expression as the microflow's return value.
103+
A microflow returns a value with `IMicroflowExpression`. This can be done by using `IMicroflowExpressionService`, which returns an expression from a string input and sets the expression as the microflow's return value.
104104

105105
An example simple return value is seen below:
106106

@@ -136,7 +136,7 @@ void CreateMicroflowsInFolder(IModel currentApp, IFolderBase folder)
136136

137137
### Multiplication Microflow
138138

139-
To create a microflow that performs multiplication between two input parameters, use the code below.
139+
To create a microflow that performs multiplication between two input parameters, use the code below:
140140

141141
```csharp
142142
void CreateMultiplicationMicroflow(IModel currentApp, IFolderBase folder, IMicroflow callingMicroflow, string outputVariableName)
@@ -167,7 +167,7 @@ You can also see that the `DataType` of both parameters is integer.
167167

168168
### Addition Microflow
169169

170-
To create a microflow that performs addition between two decimal values, use the code below.
170+
To create a microflow that performs addition between two decimal values, use the code below:
171171

172172
```csharp
173173
void CreateAdditionMicroflow(IModel currentApp, IFolderBase folder, IMicroflow callingMicroflow, string outputVariableName)
@@ -214,7 +214,7 @@ microflowCallAction.OutputVariableName = outputVariableName;
214214
2. Create `IMicroflowCallAction` and set it as the `Action` property of the `IActionActivity`.
215215
3. Create `IMicroflowCall` and set as the `MicroflowCall` property of the `IMicroflowCallAction`.
216216
4. Set `QualifiedName` of the microflow you want to call as the `Microflow` property of the `MicroflowCall` object.
217-
5. Set the `OutputVariableName` on so the calling microflow can use the result returned by the called microflow.
217+
5. Set the `OutputVariableName` on `IActionActivity` so the calling microflow can use the result returned by the called microflow.
218218

219219
## Passing Parameters to Called Microflows
220220

@@ -231,7 +231,7 @@ foreach (var (parameterName, expression) in parameters)
231231
}
232232
```
233233

234-
Paste the complete into your `CalculationsMicroflowCreator` class.
234+
Paste the code into your `CalculationsMicroflowCreator` class.
235235

236236
```csharp
237237
void CreateMicroflowCallActivity(IModel currentApp,

0 commit comments

Comments
 (0)