This guide applies only if the Actionable Insights Accelerator was installed before the Agents Accelerator. If that is not the case, you may skip this process.
Migrate Watcher Model Objects to Agent Model Objects
This procedure involves manually exporting each Actionable Insights watcher, updating its JSON configuration, and reimporting it as an Agents model object.
-
Navigate to Actionable Insights > Watchers.
-
Export every watcher, one by one.
-
Select the Watcher.
-
Click Export.
-
-
Extract the downloaded zip file.
-
Modify the downloaded JSON file.
-
Replace the following values:
Search:"modelClassUN": "ActIn_Datamart"
Replace:"modelClassUN": "AG_Datamart" -
Replace the following values:
Search:"moduleCategoryUN": "Watchers"
Replace:"moduleCategoryUN": "Agents" -
Replace the following values:
Search:"ActIn_ActionDefinitionEditorConfigurator"
Replace:"AG_ActionDefinitionEditorConfigurator"
-
-
Compress the json file(s) into a zip file again.
-
Navigate to Pricefx Agents > Agents.
-
Click […].
-
Select Import.
-
Drag and drop zip file.
-
Click Upload.
Remove Actionable Insights from Partition and Git
Once migration is complete, confirm that the Actionable Insights Accelerator can be safely deleted. Before removal, verify especially on the PROD environment that no actions are still in use.
-
Launch the IntelliJ IDEA with the Pricefx Studio plugin.
-
Navigate to the Fetch tool window.
-
Select
actionable-insights-acceleratorin the picker. -
Click the Select all entities and their objects that exist in the selected directory (
) button. -
For each selected entity, delete the object from all partitions.
-
Use the Delete objects on server (
) button.
Alternatively delete the object manually from the partition. -
Delete
.PfxComponents/actionable-insights-acceleratorfolder.