Duong_Nguyen-Nhat_2335

Unable to update package due to object still active in current Activities Queue

Discussion created by Duong_Nguyen-Nhat_2335 on Sep 14, 2016
Issue:

When Customer tried to update a package using apm tools, they had the issue that the objects, which used the package is currently in queue. So they were unable to update their Package due to this issue. Example:

9-06-2016 18:37:42 Verifying Pack installation 
09-06-2016 18:37:43 Listing Packs on current client... 
09-06-2016 18:37:43 Reading Packs from installation registry 'PCK_DB.PRV.INSTALLED_PACKAGES'... 
09-06-2016 18:37:43 Found 37 Pack(s) on current client 
09-06-2016 18:37:43 Pack is already installed on the target client in a lower version (1.0.0) 
09-06-2016 18:37:44 Pack installation is valid 
09-06-2016 18:37:44 Listing Packs on current client... 
09-06-2016 18:37:44 Reading Packs from installation registry 'PCK_DB.PRV.INSTALLED_PACKAGES'... 
09-06-2016 18:37:45 Found 37 Pack(s) on current client 
Object 'PCK.AUTOMIC_DM.PUB.ACTION.PACKAGE_DEPLOY_CREATE' is still active in current Activities Queue 
Object 'PCK.AUTOMIC_DM.PRV.ACTION.CREATE_DEPLOYMENT_TARGET_BACKUP' is still active in current Activities Queue 
Object 'PCK.AUTOMIC_DM.PRV.JOB.PACKAGE_DEPLOY_CREATE@GENERIC' is still active in current Activities Queue 
Object 'PCK.AUTOMIC_DM.PUB.ACTION.CREATE_DEPLOYMENT_TARGET' is still active in current Activities Queue Object 'PCK.AUTOMIC_DM.PRV.JOB.CREATE_DEPLOYMENT_TARGET@GENERIC' is still active in current Activities Queue
==> They must find out the workflows, which contain the package, they wanted to update. But what happen if they have like more than 1000 workflows active in the queue.

Solution:

1. We can use the User Interface of Automation Engine.
2. Search for the blocked Object e.g 'PCK.AUTOMIC_DM.PUB.ACTION.PACKAGE_DEPLOY_CREATE' (use the search option in top left panel).
3. When we found that object in the search option, right click on it and choose activity windows. 
4. We now can cancel/deactivate all the related task.
5. Do it over again after we find out that there is no object block the update package.

Outcomes