Here we discuss properties that are shared by many elements in the microflow editor.
Not every element in a microflow has all of these properties.
The caption describes to the human user what happens in this element. Captions of action activities can be auto-generated by the Modeler. See below.
The auto-generate caption property specifies whether the caption is automatically generated based on the type of activity.
|True||The caption of the activity is generated by the Modeler.|
|False||You can edit the caption yourself in the Caption property.|
Here you can choose a background color for the activity. Colors do not influence execution; they are only used for documentation. For example, you can make error handling code red so you can easily identify it.
Break here defines whether the microflow is paused when this point is reached or not. If the microflow is paused it can be executed step by step from this point. All input and output data is monitored. Use a breakpoint if you want to find an error in a microflow.
Default value: False
If the property ‘Break here’ is set to True, the break condition can be used to define the criterion for when the microflow is paused. The condition can be entered using a microflow expression. The expression should result in True if the microflow should be paused and in False if it should continue.
You could use this break condition when you suspect, by for example analyzing the error message in the console, that your change activity fails because an orderline has no association with an order. This change activity is executed in a looped activity, so there are many objects. There is probably only one object that is not associated with an order. You only want to pause the microflow when iterating over an orderline without a relation with an order. This can be done by setting a break point on the change activity with the break condition given below.
$OrderLine/Module.OrderLine_Order = empty