Clean up connector-associated models
After a connector is deleted, you may still need to clean up the objects and relationships created through modeling by the connector. Model cleanup first identifies source ownership and dependencies, generates a reviewable deletion plan, and then performs the cleanup after your confirmation.
Deleting a connector, cleaning up UModel models, and deleting underlying resources are three separate operations. Model cleanup does not delete raw SLS logs, code repositories, pipelines, or cloud resources. However, queries and relationships that depend on these models may become unavailable.
Prerequisites
-
The ID of the connector to clean up and the Digital Employee to which it belongs are confirmed.
-
The source is confirmed as no longer needed, or the specific modeling scope to clean up is determined.
-
You have permissions to review and delete the corresponding models in the destination.
Initiate cleanup
-
Go to Settings > Connectors, process the connector that is no longer used, and carefully verify the object to delete.
-
If the deletion initiates a model cleanup session, open the session under Modeling tasks of the current Digital Employee.
-
If no cleanup session is initiated, or if historical models must be processed separately, describe the objective directly to the Digital Employee. Example: The order-code connector has been deleted. Clean up the models that can be confirmed as created by this connector and are no longer referenced, retain shared objects, and show me the deletion plan first.
If no objects can be confirmed for deletion, the cleanup can end directly with an explanation. Do not delete other models merely to complete the task.
Review the impact of deletion
On the Data modeling page and in the cleanup report, verify the following information:
-
The names, types, and numbers of objects to be deleted.
-
Relationships that are also deleted or must be adjusted, and queries or relationships that become invalid.
-
Objects to retain and the reasons for retaining them, especially objects that are shared, still referenced, or have uncertain sources.
-
Whether replacement models are available and which items require subsequent processing.
Similarity in names, the same business domain, or historical dialogues alone is insufficient to safely determine ownership for deletion. The system determines the scope based on confirmed source ownership and actual dependencies. Modifying or reusing existing objects does not mean that the connector owns them.
Confirm and verify
-
After confirming that the deletion scope is correct, click Confirm modeling on the Data modeling page and send the approval message.
-
Wait for cleanup execution and result validation to complete.
-
Verify the deletion results, retained-object list, and incomplete items, and check whether relationships still in use are affected.
If cleanup fails or the execution status is unknown, confirm the actual result in the original session first. Do not submit the same deletion plan repeatedly or directly expand the cleanup scope.
Recommendations for changing the access method
If you only need to add code repositories or pipelines, use the resource scope editing capability supported by the connector. If you must recreate a connector to change the role, region, or destination, verify the old-model cleanup and new-connector modeling results separately. Do not assume from the names of the old and new connectors that all models can be deleted or migrated.