Connect HomeMarketplaceComponentsInteractive Activities

Interactive Activities

Custom Activity

Custom Activity

Updated: October 21st, 2020

Published: June 30th, 2019

Downloads: 265

Industry: cross-industry

Language compatibility: Visual Basic

Community Support

Interactive Activities

Custom Activity

Summary: 

Set of Interactive Activities for Attended Robots automation.

SAMPLE PROJECT AVAILABLE AT https://drive.google.com/file/d/1QBvx8ld0MIB-F6FF3Rj_anoQ70PUYiM2/view?usp=sharing. Please make sure you review it before using the activities. Handle property is key for best experience, unless you use it you cannot change content of your windows and they will be created anew for each cal.

Display Message, Progress Bar, Display Image, Display HTML, and Information Panel are asynchronous to the main process and will not interrupt its execution.
Display Message, Progress Bar, Display Image, Display HTML, and Information Panel all accept Position in argument which allows you to show the window in one of display corners or in the center.
Display Message, Progress Bar, Display Image, Display HTML, and Information Panel all accept Handle in/out argument (HWND) which allows you to communicate with the window. At the first run of the activity the Handle argument is populated with newly created window handle value. At the following runs this value is used to reference existing window. Providing an empty value will create a new window of the same activity, allowing you to have multiple messages or progress bars at once.
Display Message, Progress Bar, Display Image, Display HTML, and Information Panel will be closed when the robot execution stops or could be stopped manually by using Close By Handle activity.
Display Message - displays a messages with customizable text, background color, position, opacity, font color, and font size. Could be configured to disappear on timed delay by providing a value for the Hide After argument. Display Message now supports Presets for easier configuration.
Display Image - displays an image/animation with customizable scale and position. Could be configured to disappear on timed delay by providing a value for the Hide After argument. Clicking on the image switches its TopMost property
Display HTML - displays an HTML snippet rendered by C# WebBrowser control with customizable position, size, and scrollbars. HTML code could be centred inside the box. WebBrowser does not render HTML as well as modern browsers but is on-par with IE8.
Windows Notification - displays a Windows Notification (Toast) with customizable title and text. You could configure the From, Title and the Message arguments, as well as select Audio sound which will play when the Notification will show. For advanced Windows developers XML could be used to fine-tune notification box appearance.
Progress Bar - displays a Windows Progress Bar in the center of the screen. Position, label, size, style of progress bar could be configured. Configurable min and max values. Color could be configured to be one of the predefined Windows colors (green, yellow and red). Note that Marque progress bar could only be green due to Windows limitation.
Information Panel - displays a windows, with several configurable row of messages, progress bar and optional buttons (pause process and close process). Could be used to control process execution and display its status.
Progress Color - helper activity. Returns a color from Red to Green spectrum based on the input value from 0 to 100. Could be used to dynamically color progress messages.
Close By Handle - closes a window by its handle (HWND).
Safe Filename - generates a filename from string
Sample UiPath Studio project demonstrates the capabilities for the activities.

Details

Benefits

This set of activities is designed to help developers to interact with the Attended Robot users, for example to:
Display status messages
Display error messages
Display process progress
Display splash message
Control process state (pause/resume, stop)

Compatibility

Tested on 19.4-20.10, should work on most recent versions.

Dependencies

Windows User32
Windows 10 for Windows Notification
UiPath Robot installed correctly for Windows Notification

Resources

- UiPathTeam Go Interactive Activitites Documentation v1.3.pdf

Licensing

By clicking download you agree to the following license.