OrganizationUnitId field in UiPath connector error
Hello everyone!
We use Bonita 2022.1, we have a process that uses the UiPath connector, for a few days this connector has stopped working because it gives the following error:
org.bonitasoft.engine.connector.ConnectorException: Failed to retrieve robots
I Updated the connector to version 2.2.0 and the error changed to:
Error validating connector org.bonitasoft.engine.connector.uipath.UIPathStartJobsConnector:
Mandatory parameter 'organizationUnitId' is missing.
The connector form does not have a field for the organizationUnitId.
But the strangest thing is that in Bonita 2021.2, the connector version 2.1.0in Bonita Studio does have the organizationUnitId field and it works, but we need it to work for version 2021.1.
I have downloaded the connector version from https://github.com/bonitasoft/bonita-connector-uipath
Any advice you can give me?
Hello Romain.
That is a bad news. Must I to update Bonita to version 2021.2 in order to continue using this process.
Processes made in Bonita Studio 2021.1 are compatible with 2021.2? Could I export all processes from one and import to another?
Saludos, Luis.
Comments
Hi Luis,
I you are not in production yet, the upgrade should be rather transparent (you can export all your project as .bos
and reimport them if you do not use git). I let you have a look to the release notes (2021.2, 2022.1) for potential impacts.
If you are in production, you must use the update tool to update your production environement.
HTH
Romain
Are you using the Enterprise edition ? If yes, additional security rules have been enabled by default in 2022.1 and it might be the cause of your issue. I let you check the different statuses of the queries made in your page (using the devtool of your browser) to further investigate your issue.
Comments
Hello Romain.
Thank you very much for your answer.
We use UiPath Cloud, but the "organizationUnitId" field does not appear in the connector form in version 2021.1 of Bonita studio.
What version did you take the screenshot with?
Sadly, the wizard has been fixed in 2021.2. It won't be possible to use the UIPath Cloud in older versions.