How to delete an operator? | Community
Skip to main content
Level 6
November 4, 2024
Solved

How to delete an operator?

  • November 4, 2024
  • 3 replies
  • 825 views

I have disabled some accounts, but I cannot delete them from ACC.

I get error:  cannot delete document type "Operator" since it is reference by another document of type "Content channel"

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by god_prophet

For the record: I was told by Adobe to just disable the users (account disabled set to "Yes"). So when migrition happens (from 7 to 😎 , they'll only carry on active accounts. 

3 replies

DavidKangni
Community Advisor
Community Advisor
November 4, 2024

@god_prophet 

you should not delete an operator as they can be referenced to multiple objects (workflows, deliveries, schemas, forms, etc)

Adobe added this restriction in the latest releases as it was possible before but the delete was creating multiple severe conflicts in the jobs.

 

That being said, if you really need to delete an operator, you have to find all the objects created and/or modified by this operator, then assign them to an existing and valid operator. 

 

Once the operator is not linked to any objects then you can delete.

Thanks,

David

David Kangni
Manoj_Kumar
Community Advisor
Community Advisor
November 7, 2024

Hello @god_prophet 

 

Here is what you can do.

  • Find the Primary key of operator you want to delete.
  • Find the Primary key of some other operator.
  • Query all workflows, delivery templates, resources, Content Templates, workflow templates, campaign templates where createdby-id or modifiedby-id = primary key of operator you want to delete
  • Then update the value of modifiedby-id and  createdby-id with the value from step 2
  • Delete the operator.
Manoj  | https://themartech.pro
god_prophetAuthorAccepted solution
Level 6
November 7, 2024

For the record: I was told by Adobe to just disable the users (account disabled set to "Yes"). So when migrition happens (from 7 to 😎 , they'll only carry on active accounts. 

Sukrity_Wadhwa
Community Manager
Community Manager
November 19, 2024

Thanks for sharing your solution @god_prophet

Sukrity Wadhwa