Sample Projects

Advanced Document Processing

Advanced Document Processing (FlexiCapture) functionality enables you to send documents, such as invoices and other scanned documents, to be processed by the FlexiCapture Server.

See Advanced Document Processing Library Objects, Using Advanced Document Processing (FlexiCapture) and Advanced Document Processing (FlexiCapture) Sample.

Download the sample projects here.

Connectivity Watcher

This sample enables you to test the Connectivity Watcher and see the Screen Connectivity Watcher event in the Automation Portal.

See Using Connectivity Watcher.

Download the project file here.

DataTable

These samples enable you to test the DataTable functions. The samples include the DataTable functions in the JSON Library Objects, List Library Objects, and Using MS Excel & MS Word Without Interop .

See DataTable Library Object, Using the DataTable Functions and Using the DataTable Functions with Excel and JSON.

Download the samples here and here.

DateTime

Format a Date to Given Valid Format: Converts a date to the given format. All the valid custom date formats are allowed.

Add Hours: Adds a specified number of hours to the date value and returns a new date.

Add Minutes:Adds a specified number of minutes to the date value and returns a new date.

Convert Text to DateTime: Converts the given date in text to the standard DateTime format.

See Using Library Object Functions and DateTime Library Objects.

Download the sample here.

Debugger - Breakpoints in Workflows

Add breakpoints to steps during a debug session using Monitor.

See Using Breakpoints in Workflows

Download the project here.

Delegation-to-Attended Solutions

he NICE APA Delegation-to-Attended functionality enables:

  • A robot to send (delegate) a task to an attended solution/employee.

  • A third-party application (via an API) to delegate a task to an attended solution/employee.

Download the sample project here.

Dynamically Execute .NET Code

You can now execute C# and Visual Basic code when RT Client runs.

See Dynamic Code Manager Library Objects and Working with Dynamic Code Execution Functions.

Download the sample here.

HTTP Request

The HTTP Request functions enable you to invoke web services requests.

See HTTP Request Library ObjectUsing Library Object Functionsand Using the HTTP Request Functions.

Download the sample here.

Generic HTML 

Eval Script With Result: Enables you to run a script for a document (by URL and/or Title mask), without adding screen elements to the project.

See Using the Generic HTML Function.

Download the sample from here.

Generic HTML Table and HTML Table

From version 7.2, additional functions cell and table functions were added to the Generic HTML Table screen element for the Chrome connector and the HTML Table for the Web connector.

See Using Generic HTML Table and HTML Table Functionsand HTML Screen Elements - Functions with Complex Return Types.

Download the sample from here.

Execute JavaScript and Inject Java Script Functions in Callouts or Quick Callouts

Inject JavaScript allows you to add JavaScript to the HTML body of the callout (or quick callout) instance in runtime.

Execute Javascript Function allows you to call any custom JavaScript function from the callout (or quick callout) instance dynamic (add the JavaScript functions to the Source tab in the Callout Editor).

See Using Callout and Quick JavaScript Library Objects and Callout and Quick JavaScript Library Objects.

Download the sample projects here and here.

JavaScript

Execute JavaScript from an HTML file or from code.

See JavaScript Library Objects and Using JavaScript Functions

Download the sample project here.

JSON

Build comprehensive JSON solutions using an extensive library of JSON array and JSON object functions.

See JSON Library Objects.

Download the two sample projects here.

Math

Abs: Accepts an integer number (x) input, and returns the modulus or non-negative value of the number. For example, the absolute value of -3 is 3.

Ceiling: Accepts a real number (x) input, and returns the nearest integer that is greater than or equal to x. For example, ceiling value for input 2.5 is 3.

Floor: .Accepts a real number (x) input, and returns the nearest integer that is lesser than or equal to x. For example, floor value for input 2.4 is 2.

See Using Library Object Functions and Math Library Objects.

Download the sample here.

MS Excel

Get Excel Rows Count: Returns the row count of a specific column in an Excel sheet.

Copy Rows from One Excel to Another Excel: Copies the specified rows from one Excel file to another Excel file. The function pastes the copied rows to the destination Excel file from the starting row and column number specified in the syntax.

See Using Library Object Functions and MS Excel Functions Library Objects

Download the sample here.

MS Excel & MS Word Without Interop

Retrieve and modify content in Word and Excel documents without Word and Excel.

See Using MS Excel & MS Word Without Interop and MS Excel & MS Word Without Interop Objects.

Download the sample here.

MS Outlook

Get All Unread Mail Items Using Folder Hierarchy: Retrieves all the unread email items from a specified folder hierarchy. Root of the hierarchy is the email ID. For example, to retrieve all the unread emails from the inbox, and the email ID is john.doe@nice.com, specify the folder hierarchy as: John.doe@nice.com Inbox

Get Mail Item Using Folder Hierarchy And Filter: Retrieves the first email item from the specified folder hierarchy based on the filter applied. The root of the hierarchy is the email ID. For example, to retrieve all the unread emails from the inbox, with email ID john.doe@nice.com. specify the folder hierarchy as:

John.doe@nice.com Inbox

Examples of filters:

[Subject] = 'Chocolates at my Desk!' – Retrieves all emails with the specified subject line.

[SenderEmailAddress] = nicensc@service-now.com – Retrieves all emails received from the specified email ID.

Get Outlook Folder Mail Items Using Folder Hierarchy And Passed Filter: Retrieves all the email items from a specified folder hierarchy, based on the filter applied. The root of the hierarchy is the email ID. For example, to retrieve all unread emails from the inbox, with email ID john.doe@nice.com, specify the folder hierarchy as: John.doe@nice.com Inbox

Examples of filters:

[Subject] = 'Chocolates at my Desk!' – Outlook will retrieve all the emails with the specified subject line.

[SenderEmailAddress] = nicensc@service-now.com – Outlook will retrieve all the emails received from the specified email ID.

Get Unread Mail Items Using Folder Hierarchy And Oldest Date Limit : Retrieves all email items from the specified folder hierarchy as a list of text and according to oldest datetime limit. Folder names are case sensitive.

See Using Library Object Functions and MS Outlook Functions Library Objects.

Download the sample here.

MS Word Tables

From version 7.2, you can manipulate the content in Word tables. For reference, see MS Word Functions Library Objects and Using Word Table Functions.

Download the sample here.

Multi Instances

The Multi Instances functionality enables the Real-Time Client connectivity framework to connect to a specific instance of a given application, based on some characteristics of that instance.

See Multiple Instances of the Same Application and Using the Multi Instances Feature

Download the sample project here.

NEVA

NEVA (the NICE Employee Virtual Attendant) is a robotic employee virtual attendant.

See Welcome to NEVAand NEVA Sample Scenario.

Download the sample project here.

Notification Bar Functions

From version 7.3, the Web Connector provides support for popup windows in Internet Explorer, such as download dialog boxes.

For details, see Using Notification Bar Functions.

Download the sample project here.

OCR Get Checkmark State and Get Word Location Functions

From version 7.2, you can check whether a checkmark (in a square or circle) is Checked, NotChecked, Corrected or Not Recognized.

SeeUsing the Advanced PDF Object, Using the Advanced Picture Object and Using the OCR Get Checkmark State Function.

You can also return a list of coordinates of the rectangles that enclose a given word.

See Using the OCR Get Word Location Function.

Download the sample projects here and here.

Outlook Meeting

From 7.2, schedule an Outlook meeting for several recipients in a meeting room. See Using Outlook Meeting Functions and MS Outlook Functions Library Objects.

Download the sample project here.

Python

Execute Python code or methods from a file.

See Using Python Functions and Python Library Objects.

Download the sample project here.

Scheduler

Schedule a job.

See Scheduler Library Objects and Using Scheduler Functions.

Download the sample project here.

Security Warning Automation

If the organization does not allow you to disable programmatic access from Outlook or modify the registry, you will need to automate enabling programmatic access.

See Programmatic Access in MS Outlook.

Download the sample project here.

SFTP functions

Manage files on an SFTP server, including uploading and downloading files, copying files, and renaming, moving, and deleting files.

See Secured FTP (SFTP) Library Object and Using SFTP Functions.

Download the sample here.

Text

The Text library object functions enable you to perform various actions on text strings, such as comparing text strings, concatenating texts, and counting the number of characters in a text string.

See Using Library Object Functions and Text Library Object

Download the sample here.

Text Analytics

The Microsoft Text Analytics and Google Text Analytics samples enables you to test each of Text Analytics functions.

See Text Analytics Library Objects and Using Text Analytics Functions.

Download the samples for Microsoft Text Analytics and Google Text Analytics.

XML

Prepare XML data and how to build a sample project to parse an XML file.

See Parsing XML Files

Download the sample here.

Web Browser (IE)

From 7.2, Web Browser functions allow you to check if IE is running and execute various tab-level functions in Internet Explorer. See Web Browser Library Object and Using Web Browser Functions.

Download the sample project here.

Windows

Check if Windows Style Exists: Checks if the specified window contains the specified window style, and, if it does, returns true if it does. For example, to check whether the style minimize is present in the given handle, specify 536870912, which is the decimal value for the style WS_MINIMIZE.

See Using Library Object Functions and Win 32 Operations Library Objects.

Download the sample here.