Summary
This block is used to play another strategy. It's very useful when you want to dissociate a big strategy into smaller pieces or when you want to reuse the same strategy at different steps. You could even reuse a sub-strategy in different strategies.
Implementation
-
Drag and drop the block from the palette
-
Create a link from the "executed" topic of the previous block to the "execute" action
-
Create a link from the "execute" action the the "executed" topic of the next block
Example
This block calls another strategy called "Sub strategy" and pass trough the origin. Note that the origin could be modified if necessary. The artifact "tempPoints" is transfered as well with the same name.
Properties
-
Strategy: Selection of the sub-strategy to trigger.
-
Origin: SFormat to define the origin to transfer to the other strategy
-
Artifacts: Array of artifacts you want to transfer to the sub-strategy. On the left you define the artifacts in the current strategy, on the right, the name you want in the sub-strategy.
Advanced Properties
-
KeepForwardArtifacts: If set to true, will keep the artifacts generated by the forward strategy
Behavior: DO
The selected strategy is called
Behavior: UNDO
The selected strategy is called in an undo mode