We’re excited for you to experience the new preview of the Integration Service for Automation Cloud, which brings managed integration with a robust catalog of Connectors for UiPath Automation Cloud. Read more about the Integration Service here. The new Integration Service brings:
Connectors - Rapidly growing list of new Connectors every month to connect to the systems you use the most. Each Connector in the catalog will also have a related Activity Pack. Read more about it here.
Connections - Easily manage and authenticate to 3rd party services such as Salesforce and ServiceNow so you can quickly get started using with no setup needed. You can set up a new connection from Integrations in Automation Cloud or directly in Studio. Learn more about Connections here.
New set of Activity Packs - Using the Integration Service and Connections for increased capability and ease of use. There are updated Activity Packs using the Integration Service for Microsoft Dynamics 365 CRM, Salesforce, Oracle NetSuite that are Version 3.x -preview.
Microsoft Office365 and Google GSuite Activity Pack updates are also available with their -preview versions. These new activities allow the use of the new Connections for authentication.
This Integration Service is just the beginning and will be sharing more as we get closer to release.
Pre-Requirements
Studio
21.8.0-beta or higher
Enable Integration Service for a tenant
As part of the public preview, you will need to enabled Integration Service on your Automation Cloud account.
Follow these steps to add Integration Service to one of your cloud tenants:
Navigate to “Admin > Tenants”
Click the vertical ellipsis ( ⋮ ) at the right of the tenant for which you want to enable the Integration Service and select “Tenant Settings”
Click the check box for “Integrations” and then click the Save button
Once enabled, you will see a new “Integrations” icon on the left navigation.
Creating your first Connector Connection.
Click on the “Integrations” icon on the left Automation Cloud menu.
Here you will see a list of Connectors available. We will be publishing new Connectors every month.
Click on a Connector that you are interested in such as Salesforce
You will see a list of any connections that have been made. You can create a new connection by simply clicking on “Add Connection”.
Every Connection for a given system can be different. Adding a connection may take you to the systems login page or we may ask you for additional information needed to authenticate with a given system. Creating this connection will be used for design time in Studio for related Activity Packs as well as how you configure the Robot for runtime.
NOTE: The UiPath for Gmail application is still in the process of being verified by Google. In the interim, please use the non-verified app by clicking Advanced and continue to uipath.com (unsafe) as shown below
Once you have authenticated, you will see your new connection in the list. Notice that your first one is labeled as “Default”. You can create other Connections, but only one can be set as Default and will be the Connection used for design time and runtime.
Using your Connection to design processes in Studio
Open UiPath Studio. Version 21.8.0-beta or higher
Open Package Manager and install the Activity Pack related to your Connector’s Connection you created before.
Note At the time of preview release, Microsoft Dynamics 365 CRM, Salesforce, and Oracle NetSuite Activity Packs are available. Please use versions 3.x -preview or higher. As new or updated Integration Service Connectors and related Activity Packs are published, please use v3 activity pack or higher. Microsoft Office365 and Google GSuite Activity Pack updates are also available with their -preview versions. These new activities allow the use of the new Connections for authentication via the Use Connection service property.
For Activity Packs, except for Office365 and GSuite, in the Scope Activity you will see a Configure button on the canvas. If you have already created a Connection for this Connector and Activity Pack, it will automatically be selected as it is your “Default” Connection. You can have multiple Connections, however only the Default Connection will be used. In a future release you will be able to select another Connection. If you did not already have a connection you can always create a new connection by clicking on “Create a New Connection”.
Just to make sure, is there any specific licensing for the integration service or does it come with the (cloud) Orchstrator or any other cloud license?
And what about the community version?
@T0Bi - Currently, in preview, Integration Service is available in all licenses to try/use.
We are looking at variety of licensing models to support customer needs. It is still early to share the details, please expect to hear from us more on this topic next month.
Hi @RyanBoone
While executing Gmail and Google Drive activities getting the following error. I have enabled all the permissions needed for Gmail and Google drive. I have also enabled the “Less Secure app access” in Google settings . I’m stuck at this point. Please help.
I see that I am able to create multiple folders with the same name on the Google Drive. This makes sense as these two folders will have different folder ID’s.
At the same time, I don’t see anything in GDrive activities that would tell me if a folder exists.
Sorry if I missed something or if this question has been already posed and answered elsewhere.
The OneDrive Folder reference seems to be pretty much unusable in almost any other OneDrive activity.
Here is an example:
At 1. I create a OneDrive folder and save reference to a local variable
At 2. I elect to use existing Folder Id
At 3. The local reference variable I saved at 1. is unavailable
So, what is the significance of saving the reference to a OneDrive artifact if it isn’t accessible elsewhere in the flow?
You are not using the reference from step 1 properly. That is, once you have a reference to an object, there’s no need to use Get File/Folder - just use it directly.
Most activities that create an object also output that object so that it can be directly used later. See this example:
Enter ID is for situations where you know the ID of an item but you don’t yet have a reference to it and want to obtain one.
You use it to enter an ID (from a string variable or saved value or whatever) and you get as an output an object that you can then use in your workflows.
See this more complex example that uses the Enter ID functionality:
you get a folder based on ID, obtaining a reference to it (A)
you create a new folder, obtaining a reference to it (B)
You’re right. That was an attempt to check where and where not, I could use a OneDrive reference. I will go through all your inputs later today as I am signed in from a different laptop right now.
That said, here is another test I performed before I received your response and it failed on me.
Is there is some error in configuring this flow below?
As seen below, at design-time I am able to Browse to the OneDrive folder I need to loop through
How and where to use the MyDriveItem object in the For Each construct?
Example: If I wanted to get the name of the file how do I inspect this object?
In your examples above, the references that you create are accessible in subsequent steps. In my case I am not able to access that reference anywhere downstream! Is this a StudioX problem?
cc @ovidiuponoran - we might need to add an improvement for this, at least for the common properties of a DriveItem
For the copy file operation, you might indeed run into some problems. In your case, it seems like there’s a problem with the integration service.
Two other things to note that may be applicable to you:
There is some caching delay between what you see in OneDrive in a web browser and what Microsoft exposes through their API. This means that you may have files that are already moved/deleted/renamed when seen in the web browser, but which are still reported by the API. This is a known issue, waiting 5-10 minutes is usually enough to sync the two (note that we cannot force a sync, it’s done exclusively on Microsoft’s side).
We have currently also opened a ticket with Microsoft as they seem to have introduced a breaking change in their APIs that may make the For Each activity unstable in some circumstances (e.g. the foreach may end up returning no files). What I can tell you for sure is that, before this bug was introduced and with a properly synced folder, the following workflow worked as expected:
I have. When I type the object name, I get a design time error.
I am perplexed about why the DriveItem variable is visible to a Copy/Move folder activity and not a Write Activity. Similarly, it is not visible even to the If/Else activity.
Which begs the question, if I want to perform some functions based on the name or type of file, how would I do it in StudioX?
The fact that I am unable to access the DriveItem variable also prevents me from renaming a file based on the incoming file name when I move or copy it to a target folder.
Example: if DriveItem.Name returns “SomeFile.png”, I must be able to use this expression to derive the output file name such as “SomeFile_Copy.png”
If this is the case, then it further confuses me on why the same connection works flawlessly when I use the Upload file activity inside it. I have run it several times, and it has not failed even once!
Likewise, if I remove all of the activities from within the Use OneDrive scope and run the automation, with an empty scope, there are no errors.
The files in the Source folder have been there since Oct 28, 2021(screen grab below). To state clearly, the file upload tests were done on one day, and the file Copy/Move tests at least a day after their upload. Therefore, if the API is not able to see the files even after one whole day, we have bigger problems!
This might sound dismissive, but we seem to be having problems with any operation that requires us to read out of OneDrive. Which leads me to ask if the Connector works with free OneDrive accounts or not?
Date of file upload: 10/28/2021 (below) Date of Error in my previous post: 10/30/2021
@AndyMenon Regarding the design time error you are getting, can you please post here:
a screenshot of the error
the exact Studio version you are using
the package versions you are using in your project (a screenshot from the Project tab or from the package manager would suffice)
You can see from my screenshot that I don’t get any error when typing “DriveItem.Name” - if you on the other hand do, this information would help us investigate why.
Regarding why you are seeing DriveItem in Copy but not in Write Line, it’s because Write Line only accepts strings, whereas the Copy activity directly accepts DriveItems.
(To get into a bit of detail: some types have converters that allow them to show up in the plus menu of other types - DriveItem does not yet, which is why you only see it for properties that directly accept it.)
Error File Attached: As before, the execution failed as a result of an Authentication error. In addition after I set the Target folder to the standard Documents OneDrive folder, I started to see this error for the first time .