...
Once you are satisfied with the strategy, you can activate it in order to deploy it to the partition.
Before the actual deployment, the user is asked to provide a reason for activation. This can be any text that will later appear in the Version history to document why the strategy has been updated.
...
This is what happens afterwards:
Each child snippet or lookup in a draft state is activated as well (see below the Rules of Activation)
The strategy’s code, which includes all snippets and lookups used by it, will be deployed to the Groovy library specified in the
groovyLibraryName
configuration entry. By default, this is called “CustomPricingStrategiesLib.”“CustomPricingStrategiesLib”. Since Caribou Lou, the deployment is done in the backend.Depending on the PSP version:
Pre-2.4: Two entries will be added to the “StrategyDefinition” PP — one for the Independent level and one for the Dependent level.
Version 2.4 and later: The deployment logic specified in the
deploymentLogicName
configuration entry will be executed. This logic should populate the “StrategyDefinition” PP and can perform any additional actions that the PSP considers necessary.
...
A new snippet cannot be activated on its own. Instead, you should use it in a strategy and activate that strategy. When a strategy is activated, it automatically activates all the draft snippets and lookups it contains (see below the Rules of Activation).
When you create a new version of an existing snippet, you can activate it as soon as you’re satisfied with it. You’ll be prompted to provide a reason for the activation. This is because activating a new version of a snippet will supersede one or more strategies that use it, and the reason for activation will be noted alongside each new active version. Once a snippet is activated, it will trigger the creation of a new version for each strategy that utilizes that snippet. Additionally, activating a snippet will also activate any draft lookups that it utilizes.
...
A new lookup cannot be activated on its own. Instead, you should use it in a strategy and activate that strategy. When a strategy is activated, it automatically activates all the draft snippets and lookups it contains (see below the Rules of Activation).
When you create a new version of an existing lookup, you can activate it as soon as you’re satisfied with it. Once You’ll be prompted to provide a reason for the activation. This is because activating a new version of a lookup will supersede one or more strategies that use it, and the reason for activation will be noted alongside each new activeOnce a snippet is activated, it will trigger the creation of a new version for each strategy that utilizes that snippet.
...