UiPath Community 2022.2 Preview Release

UiPath Community 2022.2 Preview Release

Adding to our January 2022.1 Community Preview, below you will find the highlights from today’s release.

Studio & StudioX

Enforce Workflow Analyzer before Push/Check-in

Starting with this release Workflow Analyzer can be enforced for every push to source control. This will ensure that your automation is compliant with the best practices standards.

Templates with customizable fields

We’ve added customizable fields to our Templates, allowing them to become sample tasks with activities in place that can be further configured by template consumers by filling in the blank fields with their own data.

Changes for Template Creators

When creating a template, you may have fields that should become configurable once published. For those you can use the Plus sign and select Mark as customizable:

image001

This marks the field with the image003 icon. Once the template is published, the value in this field will be cleared.

This allows you to create the template with your sample data and once its published, the user will be able to customize.

If you decide you’d like this field to remain unchanged and maintain the values, you can use the plus sign once again and select Unmark as customizable :

image004

You are still able to run and test the project with your own values. If you reopen the template after saving it, your test values will be kept and you can continue editing. The changes take effect only once it’s published.

One example of how you can use Customizable fields in a template would be within an Excel use case. When creating it, you would add a Use Excel File activity, marking the Excel File field as customizable. Adding an Insert Chart activity to the template, you can mark the Data range and the Insert into sheet fields as customizable as they will be configured according to each user.

Changes for Template Consumers

You can now configure a task based on a Template by following the fields marked with the image003 icon. A template with customizable fields has empty fields that allow you to add your own values:

image008

Once the task has been fully configured, you can simply run it or further customize it by adding new activities.

StudioX

Data types for saved values

When creating a saved value, you’ll be able to select its Data Type:

image010

The default is a Text but you can change them according to your use case. For example, I’ve chosen to create a Date value and configure its value to Today.

image012

When using them across activities, you will be able to change their data type. For example, after saving a value as a Text with a value of False , you can reuse it in an If activity as a Boolean:

Data Manager Improvements

We’ve made some changes to the Data Manager to further expand its functionality.

We’ve grouped together the features allowing you to add data to a task under the New option. From there, you’ll be able to add a new variable, argument or connect to an Excel File:

image018

As mentioned earlier, you are now able to add a new variable within the Data Manager. You can do so through the Variables Panel as pictured below. This allows you to add multiple variables at a time by simply clicking the New button.

You are now able to expand a Saved Value to see its Data Type and Default Value. This also allows you to edit it directly from the Data Manager. Alternatively, you can right click to Rename it, Edit it or Delete it.

You can also Edit an argument directly from the Data Manager once expanding it. You are also able to Rename, Edit or Delete the argument by right clicking on it.

Orchestrator Resources (Assets, Processes, Queues) are now available in Data Manager with the same functionality as in the Resources Panel. You will be able to simply drag & drop an asset in your task or add it to an activity. Queues and Processes require the Show Developer Flag to be enabled on the Activity Panel.

When not using them, you have the ability to hide them by using the Filter:
image021

Test Suite - Studio

In this release we have focused most of our work on expanding the capabilities of Test Explorer. As a quick reminder, Test Explorer is the go-to panel within Studio for any testing related functionality. The goal is to provide you a holistic view on all your test cases and workflows including details on execution results, coverage, and test status.

In 2022.2 we have added the following capabilities.

Extended context menu

image023

Within Test Explorer the following tasks are now available within the context menu on Test Cases:

  • add test data
  • remove test data
  • update test data
  • link to test manager

Extended Filter Option

We have extend our existing Filter options within the Toolbar to also incorporate the following options:

  • Display Activity Coverage
  • Display Execution time

Additionally, we merged the coverage options into the filter button and add the following options:

  • show covered activities
  • show uncovered activities

General Test Result Summary

Within the test result tab on Test Explorer we now offer an overview on the entire test results including the execution state and time.

Collapse All/Expand All

image029

We tried to keep the structure in Test Explorer as flat as possible due to the limited space available, which is why we spared showing folder structures from the project panel. Still we have some structure showing RPA Tests as children of RPA workflows as well as data variations as children of data-driven Test Cases. For you to keep oversight within Test Explorer we therefore have added expand/collapse buttons within the toolbar.

Display Execution Time

A nice little metric we have added to your test results is the actual execution time.

Assistant

UX improvements

In this new release, we adopted the Apollo design language and controls, so you will notice some changes in how Assistant looks. With these changes we want to enable a more consistent experience across all UiPath products.

Assistant for macOS

We continue to improve the experience in Assistant for macOS, so starting with 22.2 the UiPathRobot.js is available also for macOS. Furthermore, with this new release you can benefit from using the Apps widget on macOS.

UIAutomation & CV

Scroll and switch-tab in the Selection Screen

A long-requested and super useful feature finally made it in 22.2: the ability to scroll the target page while in the selection screen, so you can easily find the targeted element without having to pause (F2) the selection. Also, switching the active tab using Ctrl-Tab is now supported :v:

Capture Elements – region selection

We’ve added a few improvements to the Capture elements window to make using it faster and better: now you can select just a region of the whole window to analyze, and we’ve improved the detection of the type of elements using ComputerVision.

Take Screenshot also works outside a scope & without a target

Now you can use Take Screenshot without an App/Browser card, and even without a target, so you can quickly screenshot another app, different from the current one, or just screenshot the whole app, respectively.

Create variables from Object Repository objects when dragging over canvas

When creating activities by dragging an object from Object Repo to the canvas, now the relevant variables will be created automatically if the object was using any.

Extract URL and/or images sources in tables

Now when extracting tables we automatically extract the URLs of the elements (if there are any), with the option to remove them if they’re not needed.

Mouse Scroll with Key Modifiers

We added key modifiers for the Mouse Scroll activity, for situations where a modifier key alters the behavior of the scroll.

##Support for Azure Windows Virtual Desktop client
You can now natively automate Azure virtual desktops, with UIAutomation activities and Azure Windows Virtual Desktops client, using the UiPathRemoteRuntime and the RDP extension.

New Computer Vision AI Model

Higher accuracy

We’ve retrained the CV AI Model and upgraded the internal neural network with a new state-of-the-art architecture, outperforming its predecessor. All UI elements are now detected with higher accuracy, but the largest improvement is related to working with very large tables on 4K screens - :exclamation: therefore we highly recommend verifying any existing workflow using large tables on 4K screens, using the preview endpoint below.

New CV preview endpoint

We’ve created a new preview CV endpoint, primarily aimed at testing existing workflows on the new model that will be released in 22.4, as well as testing the improved model. We recommend you also pair this with the latest version of activities (UIA 22.2). This allows for a more predictable migration to a new CV AI Model by being able to safely validate the new UI element detection capabilities in the context of your own data.

:exclamation: We highly recommend switching to the preview endpoint when working with large tables on 4K screens:

  • When working with projects created using previous versions of the UIA Activity Package: the target endpoint must be manually set to https://cv-preview.uipath.com and the CV API Key must be input, either in both Computer Vision and OCR Project Settings or in both CV Screen Scope Server URL and UiPath Screen OCR Logon Endpoint properties.
  • When creating new projects using the 22.2 Preview Package: the target endpoint must be set to https://cv-preview.uipath.com, either in the Server value in Project Settings or in the CV Screen Scope Server URL property.

:exclamation: The preview endpoint will be active until the release of our 22.4 activity package. After this date:

  • The new CV AI Model will be deployed to our default production endpoint, https://cv.uipath.com, so please update any projects created or validated using the new AI model to point back to this default value for the endpoint.
  • https://cv-preview.uipath.com endpoint will no longer be active.

Other activities improvements

Support for Del key in the CV Selection Screen

Hitting Delete in the CV Selection Screen now deletes the current selection for quicker workflow building.

Delay Screenshot After Scroll

The CV Extract Table activity now has a DelayScreenshotAfterScroll property which enables it to wait for a specific amount of time after performing a scroll action before taking a screenshot of the target table. This is useful for tables that load extra items when scrolling down.

Exceeding maximum height in pixels when working with Table Scroll

You will now get an exception when trying to extract data from scrollable tables over the MaxTableScrollHeightInPixels value: “Extract table has height higher than the limit of {0} set to guard against infinite scrolling. Please adjust limit or check that the result is the desired one.” There is a preset limit for total table height of 30.000 pixels. This can be overridden by editing the desired Extract Table activity in your .xaml and adding a new property MaxTableScrollHeightInPixels=“30000” with the whatever value is necessary for you.

:exclamation: Runtime Logging is now set to True by default in Project Settings > Computer Vision for Table Scroll. While it is very useful in preview versions (capturing intermediate screenshots and logs), we recommend you set it to False when switching back to a production environment to avoid storage issues caused by logs piling up as you’re working with scrollable table data.

image

Activities

Mail Activities

Mail package version 1.14.0-preview contains a few improvements and bug fixes as listed below.

IMPORTANT: This package version requires Studio 21.10 or higher. On lower versions some functionality may be missing, or unexpected behaviours may occur.

Improvements

  • MailMessage object’s headers is enriched now with properties “References” and “InReplyTo”. Change is available for the activities Get Exchange Mail Messages , Get Outlook Mail Messages , Get IMAP Mail Messages , Get POP3 Mail Messages .
  • Microsoft Graph version has been upgraded to 4.5.0.
    Activities Use Gmail and Use Outlook365 support now authentication tokens storage on the machines with operating systems other than Microsoft Windows (eg. OS X, Linux).
  • Package title has been updated to “Mail”. Now when searching for UiPath.Mail.Activities, the package title will be displayed as “Mail”.

Bug fixes

  • For Each Mail activity’s incorrect behavior when using shared mailbox address in Windows (.net 5.0) projects has been fixed.
  • The visual aspect of filter builder within activity “For Each Email” has been improved. Now it displays the conditions rows as expected when filling in values and allows usage of OR condition. Having the OR condition in the configured filters also takes in account the ‘Unread’ option from the activity configurations.
  • Adding images in HTML editor for Cross-platform projects now run smoothly, without any errors at run time.
  • Retrieving inline attachments is now possible with the activity “Get IMAP Mail Messages”.

Excel Activities

In order to use these, you’ll need to update your Excel package to the latest version

Match activity

It gives the ability to use the MATCH function. Given an item, it will search for it in a range of cells and return the relative position of that item.

PowerPoint Activities

In order to use these, you’ll need to update your Presentations package to the latest version

Improvements

  • New property New Shape Name giving the ability to change the name of the shape in the slide. Can be found on the following activities:

    • Add Image / Video to Slide
    • Add File to Slide
  • Format Slide Content: option to Change shape name, allowing you to edit the name of the shape in the slide

    image035 image037

Document Understanding

We are happy to announce that with our latest release, we have migrated the Intelligent OCR Package to .net5 portable :dancer:t2:

Besides this, you will also find improvements around the accessibility of the Taxonomy Manager and the Validation Station.

Please tell us what you think

Which features excite you the most and you are going to try right away? We want to hear what you think! Please use the image button below :slight_smile:

12 Likes

A much needed release especially when it comes to

Enforce Workflow Analyzer before Push/Check-in

Starting with this release Workflow Analyzer can be enforced for every push to source control. This will ensure that your automation is compliant with the best practices standards.

However I would like to know if we can enable it from 2020 Studio version by writing any script

2 Likes

Enforce Workflow Analyzer before Push/Check-in
Assistant for macOS
Scroll and switch-tab in the Selection Screen without having to pause (F2) the selection
Take Screenshot also works outside a scope & without a target
Create variables from Object Repository objects when dragging over canvas

@loginerror , can there be a citizen version of ‘Document Analyzer’ i.e text mining for those who are citizen developers. This can help a lot