Errors in Application Repository after running Purge History to remove deleted process app versions. e.g. Error: Failed creating domain adapter for null. AssetVersion: 165266
Introduced in SBM some asset such as states and selections are permanently removed from the Process App . These should be marked as deleted but still be visible in case you would like to undo your changes.
(1) Start with the sample database (2) undeploy all Process Apps (note the solution framework cannot be undeployed - will raise this separately) (3) delete all Process Apps
When the user tries to open an existing process app from their local cache, they may get the following error: Delete attempt failed for Process App 'Your Process App'. The directory is not empty.
To delete an application from a process app even if it is referenced by a relational field in an existing application, you need to delete the primary table from the Tables tab in the SBM System Administrator. Be careful when doing this as it is permanent and will delete all parts of the application including existing items. You will then need to perform a Get From Application Engine for the process app in the Deployments tab of your environment in your Application Repository to pull the process app with only the remaining application back into the repository.
To work around this issue, first export the process app to a file if you do not already have an .MSD file for the process app. In Composer, go to the primary table where the icons are being used and set the overrides to "(None)" so the icons are not being used.