Error fix for "An organization unit is required for this action. Error code: 1101", thrown when using Get Asset activities in the workflow?
Issue Description: After upgrading Orchestrator and Studio / Robot to 2020.10.11, when executing a process, all get asset fails with the following error: An organization unit is required for this action. Error code: 1101.
Root Cause: The older version of the dependencies are not compatible with the new Orchestrator requirements.
Resolution: In order to make sure the cause of the issue is the project dependencies,
- Create a new process project in Studio. Name it Test
- Make sure the dependencies UiPath System activities is on 20.10.4 or higher
- Add a Get Asset activity and add the asset you want to retrieve and put the output in a variable by using CTRL+K and name it Asset Value
- Add a Message Box and add the variable above
- Run the process, if the message box shows the value looking for, update the project dependencies on the process.
Note:
- Before updating the project, make sure to have a back up.
- It works from version 2018 and above.
If multiple projects are present and to do a mass update, use the tool below.