Unable to create queue trigger this option is currently not available because it is already associated with a process in another folder.
Issue Description: Encountering an issue with the migration of queue-based triggers when transitioning from a classic folder to a modern folder in UiPath Orchestrator. The problem arises because even after deleting the classic folder, the associations between the queues and processes in the classic folder are not fully removed from the database, causing conflicts when trying to create triggers in the modern folder.
Error Code:
Resolution:
Note: Take backup of Orchestrator DB before attempting below procedure.
- Identify Queue-Based Triggers: Before deleting the classic folder, identify all queue-based triggers associated with queues in that folder. These triggers need to be removed manually before deleting the classic folder.
- Remove Queue-Based Triggers: For each queue-based trigger associated with queues in the classic folder, remove them manually. This step ensures that there are no lingering associations between processes and queues in the classic folder.
- Delete Classic Folder: Once all queue-based triggers are removed, proceed with deleting the classic folder from UiPath Orchestrator.
- Verify Deletion: After deleting the classic folder, verify that there are no remaining associations between processes and queues in the classic folder. Ensure that the queues are correctly associated with the modern folder.
- Test: Test the creation of new queue-based triggers in the modern folder to ensure that the issue has been resolved and that triggers can be created without encountering errors related to associations with the classic folder.
- Database Cleanup (if necessary): If there are any lingering associations in the database causing issues, such as release IDs still linked to queues, perform necessary cleanup actions in the database, such as setting release IDs to null.
By following these steps, it should be possible to successfully migrate from a classic folder to a modern folder in UiPath Orchestrator without encountering errors related to queue-based triggers. It is essential to ensure that all manual cleanup steps are performed diligently to avoid conflicts or unexpected behavior during the migration process.