ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
Creating a folder throws the error message "U04006508 Could not find the object. It may have been deleted or renamed"
book
Article ID: 186738
calendar_today
Updated On:
Products
CA Automic Workload Automation - Automation Engine
Issue/Introduction
It is not possible to create a folder from AWI. When clicking OK, it does not do anything.
Creating a folder using Java UI, the error message below shows up.
U04006508 Could not find the object. It may have been deleted or renamed
Cause
The root cause is that the FOLD template object has been deleted.
Environment
Release : 12.2
Component : AUTOMATION ENGINE
Application: MSSQL Server
Resolution
-Execute the SQL query below to see if the FOLD is still in the OH table.
select * from OH where OH_Name LIKE '%FOLD' and OH_OType='FOLD'and OH_Client=0;
If the FOLD temple object is still there, you can execute the SQL query below. The OH_Idnr of the FOLD template is 544.
Modify the FOLD name: update oh set oh_Name ='811k\FOLD' where oh_idnr = 544
Undelete the FOLD object: update oh set oh_DeleteFlag =0 where oh_idnr = 544;
Put back the version of the FOLD object: update oh set oh_AEVersion =11.2 where oh_idnr = 544;
If the FOLD template object is no longer in the OH table, follow the steps below.
Step 1: Export any folder from any AE environment. Then, import it Client 0 of the AE environment where the FOLD object is deleted and delete it again
Step 2: Get the OH_IDNR of the imported and deleted folder select OH_IDNR from OH where OH_Name LIKE '%<NAME_OF_THE_FOLDER>%' and OH_OType='FOLD'and OH_Client=0;
Step 3: Modify the FOLD name of the folder with the OH_IDNR in Step 2 update oh set oh_Name ='811k\FOLD' where oh_idnr = "OH_IDNR from Step 2";
Step 4: Modify the oh_idnr to 544 to make it a template: update oh set oh_idnr =544 where oh_idnr = "OH_IDNR from Step 2";
Step 5: Undelete the FOLD object: update oh set oh_DeleteFlag =0 where oh_idnr = 544;
Step 6: Put back the version of the FOLD object: update oh set oh_AEVersion =11.2 where oh_idnr = 544;