technical session: task · bot runner clients bot runner bot creator control room api active...

69
IBM Automation 2018 Technical Session: Task Jeff Goodhue Worldwide Digital Technical Specialist @jeffgoodhue [email protected] @jeffgoodhue

Upload: others

Post on 06-Jul-2020

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

IBM Automation 2018

Technical Session: Task

—Jeff GoodhueWorldwide Digital Technical Specialist@[email protected]

@jeffgoodhue

Page 2: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Contents

2

Digital Labor with RPA

IBM Automation Platform for Digital Business

IBM RPA with Automation Anywhere Technical Overview

Build a Bot Demonstration

IBM RPA Integration Patterns

IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation

Page 3: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation 3

Digital Labor with RPA

Page 4: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

What if your company could automate all repetitive human work activities?

4IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation

Page 5: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Physical robots

Perform repetitive physical tasks

Example:

• Pick eight chocolates from assembly line

• Assemble a finished box of chocolates

Software robots

Perform repetitive software tasks

Example:

• Log in to four different systems• Navigate legacy screens to retrieve data• Use data to open new account in system

of record

Software robots are similar to physical robots

IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation

Page 6: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Software robots

Perform repetitive software tasks, examples: • Log in to four different

systems• Navigate legacy screens to

retrieve data• Use data to open new

account in system of record

Chatbots: personalized cognitive interaction with customers

Script bots: headless automation such as spam email

Automation bots: business automation via seamless UI interaction

Software robots come in many flavors

IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation

Page 7: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

enables companies to easily automate repetitive tasks in order to free up employees to perform

higher value work

No changes to existing user interfaces

Reduces errors associated with swivel chair integration

Efficiently execute high volume work

HOW RPA WORKS:

ROBOTIC PROCESS AUTOMATION (RPA)

IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation

Page 8: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Accelerate time to value

Create, test and deliver new

automations in days or weeks

Reduce human error

Eliminate copy/paste mistakes introduced

by swivel chair integration

Increase throughput

Fulfill automated tasks in seconds or minutes, round the

clock

Decrease development costs

Develop automations quickly with simple

record/playback functions

Key benefits of Robotic Process Automation

IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation

Page 9: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

IBM Cloud / DOC ID / Month XX, 2018 / © 2018 IBM Corporation 9

Right brainCognition based

Left brainRules based

Central nervous systemCoordination & orchestration

Eyes Data capture

HandsSoftware robots

Digital labor extends RPA to unlock its full potential

9© 2018 IBM Corporation

MemoryContent Management

Page 10: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation 10

IBM Automation Platform for Digital Business

Page 11: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Decisions

Data CaptureM

odel

ing

Anal

ytic

s

Unified User Experience

On-cloud | Hybrid | On-premises

Workflow DecisionsContentTasks

Operational Intelligence | Machine Learning | Governance

IBM Automation Platform for Digital Business

Page 12: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Decisions

Data CaptureM

odel

ing

Anal

ytic

s

Unified User Experience

On-cloud | Hybrid | On-premises

Workflow DecisionsContentTasks

Operational Intelligence | Machine Learning | Governance

IBM Automation Platform for Digital Business

Page 13: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Left brain + hands

• Separating complex rules from repetitive tasks

• Example: Calculating discounts during order entry

Eyes + hands

• Extraction and action on information from unstructured content

• Example: Interpreting and matching invoice data with the contract

Central nervous system + hands

• Orchestrating the right balance of repetitive work & knowledge work

• Example: Handling claims exceptions at scale

Digital labor enables businesses to remix thedistribution of work

© 2018 IBM Corporation 13

Page 14: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Combining workflow with RPA – example 1: Workflow refers work to RPA tasks to improve automation of manual tasks

Policy holder: 1. Submits claim

information

Workflow:5. Routes claim for

financial review6. Routes claim for

approvals

Workflow: 2. Orchestrates claims

process (including humans, systems & robots)

RPA:3. Retrieves data from claim

system, policy application & provider system

4. Enters data into claim system

Claims Processing example

• Monitoring and enforcing Service Level Agreements• Managing end-to-end process

• Managing exception processes• Tracking the status of exceptions

Workflow extends the value of RPA by:

14IBM Confidential / April, 2018 / © 2018 IBM Corporation

Page 15: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Combining workflow with RPA - example 2: RPA tasks trigger workflows to take action in specific situations

IBM Cloud © 2018 IBM Corporation 15

Policy holder: 1. Submits

update to policy information

Workflow: 5. Orchestrates human

exception process to resolve6. Sends updated info to RPA

to update policy system

RPA:2. Enters updated policy data into system3. Identifies conflicting data (birthdate on

update does not match birthdate on policy)4. Initiates process to resolve conflicting data

• Managing exception processes• Tracking the status of exceptions

• Monitoring and enforcing Service Level Agreements• Managing escalations

Workflow extends the value of RPA by:

If Exception

Insurance Policy update exception

Page 16: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Combining decisions with RPA

Order Entry task example

Customer: 1. Places order

RPA:2. Opens order3. Retrieves order data4. Invokes decision to

calculate discounts 6. Logs in to ERP system7. Inputs data into ERP

Decisions:5. Calculates discount

amount for each line item

ERP:8. Validates order9. Submits order

for fulfillment

• Managing and governing business decisions outside of RPA• Enabling non-technical business users to maintain operational decisions

• Enabling business automation to be changed rapidly• Reusing business decisions across the enterprise

Decision management extends the value of RPA by:

16IBM Confidential / April, 2018 / © 2018 IBM Corporation

Page 17: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Combining data capture with RPA

Vendor: 1. Sends email with

invoice attached as PDF document

RPA:6. Logs in to invoice system7. Inputs invoice data8. Compares invoice data

against contract

RPA: 2. Opens email3. Opens PDF attachment

Data capture: 4. Interprets invoice5. Passes relevant fields to RPA

Invoice Entry task example

• Analyzing unstructured content to produce clean, structured data as required by RPA• Eliminating or reducing the manual work required to interpret documents

• Minimizing exceptions• Learning from corrections

Data capture extends the value of RPA by:

17IBM Confidential / April, 2018 / © 2018 IBM Corporation

Page 18: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation 18

IBM RPA with Automation Anywhere Technical Overview

Page 19: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

IBM RPA with Automation Anywhere Platform DBA Express

Workflow, Content, Capture, Decisions

Bot Runners

Playback

RunBot Creators

Record

CreateControl Room

• Bot repository• Bot scheduler• Version control• User management• Role-based access• Audit trail

Manage

Page 20: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Easily create bots using purpose-built recorders

Choose an Option

Smart Recorder

Screen Recorder

Web Recorder

Smart Recorder: Record web & desktop application screens, independent of screen size or window location

Screen Recorder: Record web & desktop application screens when screen size & window location don’t change

Web Recorder: Special features for recording web applications

Create

Record

Use Recorders to record interactions between applications

Page 21: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Edit bots with the Task Editor

Test / Debug

If-then-else Controls

Local Variables

Variables to for data exchange between bot steps

Data Acquisition form from input files or other systems

Loops to iterate thorough bots

If-then-else for control flow

Error Controls for exception handling

Create

Page 22: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Manage & schedule bots from the Control Room

• Dashboard to view bot activities • Repository Manger to manage

uploaded bots• Task Scheduler to deploy bots to Bot

Runners and manage bot dependencies

• Operation Room to view the control room history and tasks in progress

• User Management to configure users (developers, Bot Runners, administrators)

• Audit Trail to displays all Control Room events

Manage

Page 23: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Run bots automatically or launch from desktop

Bots can be launched manually from desktop

Bots can be scheduled to start automatically from Control Room

Run

Playback

Page 24: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Automation Anywhere RPA Software Components

Client - Bot Creators

Client - Bot Runners

Control Room - Bot Management and Deployment

IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation

Page 25: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

25

Automation Anywhere Product Topology Overview

SQL Server DB - stores data: users (if not Active Directory is used), user roles, user permissions, etc.

SubVersion - can optionally be used to have version control on tasks, metabots, workflows etc.; check-in, check-out, version history, rollback

File Store - only required for distributed installation where a network path is required as repository path ?

Active Directory - can optionally be used to store the users

Mail Server - can optionally be configured for email notifications to users, recommended as account creation, password resetting etc. is managed through this

Load Balancer / Replicator - required for high availability, see HA/DR guide for details, but these are Windows components

SQL Server DB

Website

ClientBot RunnerClient

Bot RunnerClients

Bot Runner Bot Creator

Control Room APIActive Directory

File Store

SubVersion

Mail Server

Load Balancer

Replicator

Scheduler Services

Control Room Applications

File Repository

Control Room “Shared Services & Data”

Web Socket Service

Page 26: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Task Editor Palette

Keystrokes / Mouse

– Edit mouse moves and key strokes

Program / Files / Windows

– Interact with Windows OS elements (files, windows, etc..)

Conditions / Loops

– Add programming construct

Pause / Delays / Wait

– Wait for window to show up before clicking on it

Internet

– Start Web browser window, upload a file, call REST API…

Tasks / Scripts

– Interact with recorded tasks

Applications

– Interact with applications (DB/Excel) and files (XML/CSV)

Interactive

– Insert message box, get input

Miscellaneous

– Variable or Clipboard, String operations,

System

– Printers, Services, LDAP

Advanced

– Fault handlers, Image processing

Integration Pack

– Work with PDF, receive emails,

– App Integration and Terminal Emulator

Security

– Encrypt / decrypt files

SAP

– Work with SAP GUI

Page 27: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

One of the most user-friendly user interfaces allowing non-developers to build automations..

Step 1 - Record Step 2 – Edit auto generated script • Intuitive user interface• Over 500 drag and drop

commands• Easy integration with

common data sources such as excel, csv, database etc.

• Work with common business applications like Office, ERP etc.

Speed & Scale

151 5141253

20022728

3290

0

2000

4000

3 Months 6 Months 9 Months 12 Months15 Months18 Months

BOT VELOCITY

• Combined with Bot Velocity methodology allow us to scale fast at enterprise levels….

Page 28: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

The New Bot Economy – Automation Anywhere Bot Store

1000+10000+

200+ Bots

Downloads

Unique Visitors

• Online marketplace for pre‐built bots• Accelerates RPA initiative time to value• Launched March ’18 @ Imagine, London

10+ Categories

Page 29: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation 29

IBM RPA Demonstrations

Page 30: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation 30

IBM RPA Integration Patterns

Page 31: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Robot starts a process

Robot becomes smarter

Four IBM RPA Integration Patterns

Robot completes a task

Process starts a robot

TASKPROCESS

PROCESS

DECISION WATSONIBM

Datacap

IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation

Page 32: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Robot completes a task

TASK

Page 33: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Two sub patterns

RPA bot + BPM API

RPA bot invoke IBM BPM REST API directly via REST binding Use JSON Metabot to convert RPA variables to/from JSON

RPA bot + Process Portal UI

RPA bot interacts with BPM Process Portal and BPM UIRPA bot mimics actions of a knowledge worker completing a task

BPM API

TASKTASK

BPM API

BPM PROCESS PORTAL

UIActions

Page 34: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Example 1 – Create Sales Order (SAP Transaction)Robot does work instead of a person

Page 35: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Example 1 – Create Sales Order SAP Transaction

zzzz…Robot wakes up

Robot goes back to sleep when all tasks are completed

Robot claims and completes tasks

Robot does work instead of a person

Page 36: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Example 2 – Legacy Core Banking ApplicationRobot does work instead of a person and provides an API to a system that doesn't have one

Page 37: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Example 2 – Legacy Core Banking ApplicationRobot does work instead of a person and provides an API to a system that doesn't have one

Robot does what the human is instructed to do…• Faster• Without errors• Without supervision

Page 38: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Two sub patterns

RPA bot + BPM API

RPA bot invoke IBM BPM REST API directly via REST binding Use JSON Metabot to convert RPA variables to/from JSON

RPA bot + Process Portal UI

RPA bot interacts with BPM Process Portal and BPM UIRPA bot mimics actions of a knowledge worker completing a task

BPM API

TASKTASK

BPM API

BPM PROCESS PORTAL

UIActions

Page 39: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

BPM Orchestrates Bots

Bot Tasks are implemented as User Tasks

User Tasks implementation:• Specify of input and output variables to

communicate with the Bots• No need to implement Coaches

BPM Process can orchestrate independent bots:• Bots can accept input variables from the process• Bots perform work• Bots pass output variables back to the process

Page 40: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Robot is launched from a process

PROCESS

Page 41: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Launching Robot from BPM

1. Automatically Indirectly (via triggers)

– By triggering one of the AA Task Triggers

2. Automatically Directly (via AA API)

– New API in available from Enterprise edition 10 SP2 with product version 10.5.0

3. Directly from a Task (by knowledge worker completing a task)

– As a part of task completion knowledge worker starts a Robot to get some information required for task completion

1, 2

1, 3

Human Task

System Task Email

File

Page 42: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

1. Automatically Indirectly - Task TriggersWindow triggers a task when and application window: – Opens / ClosesFile triggers a task when a file is:– Created / Deleted / Renamed / ModifiedFolder triggers a task when folder or file in a folder is – Created / Deleted / Renamed / ModifiedPerformance triggers a task when:– CPU usage reaches a level that you specify (in %).– Amount of free disk space is reached that you specify in

megabytes (MB).– Number of processes that you specify are running.Process triggers a task when a system Windows Process:– Starts running / Stops runningService triggers a task when a system Windows Service: : – Starts running / Stops running / Resumes running / PausesEmail message triggers a task when an email is received

Task TRIGGERS:External events that trigger robots

Triggers are related to native Windows events. Triggering these events how do we trigger these events from BPM?

TASK

Page 43: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Example - Email notification triggers a robot

Robot #1 launches robot #2 to do the work!

Robot #2 launch BPM Process Portal and complete the task specified in the email (uses the task identification retrieved by the robot #1 from the email)

Email (task assignment notification triggers robot #1

Robot does work instead of a person and provides an API to a system that doesn't have one

#1#2

Page 44: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Example – Hiring Process Human Resources

IBM Business Process Manager

Select Candidate

User reviews the information gathered by Watson. User selects a candidate based on provided data

Hiring Manager

Opens up position

The hiring manager opens up a new position for a position in their team and the system fetches candidates for that position.

Natural Language Understanding

Machine Learning

Machine Learning

Natural Language Understanding

Speech

Tone Analyzer

Visual Recognition

PersonalityInsights

Discovery

Conversation

Watson goes through the list of candidates, and uses “Natural Language Understanding” to extract keywords, concepts & categories from the resume. It also uses machine learning to predict the best profile for the job.

Update backend systems

RPA updates the backend system once the candidate accepts the position

IBM RPA

Bot

Page 45: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Robot launches a process

PROCESS

Page 46: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

External Invocation Bindings in RPA

REST

– the HTTP methods GET, PUT, POST and DELETE are supported.

SOAP Web Service

– Command supports the following only:

• Content Type: Text/XML

• Encoding Type: UTF-8 Format

• Authentication Type: Basic Authentication

Page 47: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Task to launch a process instance

1 8Retrieve csrf token from BPM Start a process instance3 5

Convers JSON to Variables vice-versa

6 JSON MetaBot

1

8

Page 48: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Example – Web Data Extraction

On a periodic basis robot extracts web data and compiles complex reports (.csv format), the extracts some process relevant data from the reports

The robot invokes REST API the input parameters contain the data extracted from the reports

THIS STARTS a PROCESS INSTANCE

Web Browser Excel REST API

REPORT DATA

Page 49: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Example – Document Processing for BPM

Robot is triggered when email arrives and extracts documents and metadata from the email

Robot adds the document and the metadata via IBM Content Navigator IBM FileNet ECM external document store

THIS TRIGGERS a DOCUMENT CREATION EVENT in BPM

Email Email Trigger PDF Document IBM Content IBM FilenetNavigator

Page 50: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

IBM Business Process ManagerIBM RPA

Example – Customer ServiceSupport Staff

Clients

Handle Ticket

The data provided by Watson is used by the system to route the ticket to the appropriate team in the support staff which then handles the ticket

Launch Process on Email

1.On receiving a new ticket in the customer support email, RPA triggers a bot

2.Bot extracts data contained in the email

3.Bot launches a new ticket handling process with the data contained in the email

Classify

Get Priority

Machine Learning

Natural Language Understanding

Speech

Tone Analyzer

Visual RecognitionPersonalityInsights

Discovery

Conversation

Watson classifies the ticket based on the subject using the “Natural Language Classifier” and prioritizes the ticket based on the email’s tone using the “Tone Analyzer”

Bot

Page 51: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Robot becomes smarter

DECISION WATSON IBM Datacap

Page 52: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Robot becomes smarter

DECISION

Page 53: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Category Decision Type Examples

Eligibility Integrity

What am I considered to be? What Business State am I in?A Preferred Customer; in the US Western Market; on Risk Watch; Late Payment

What do I qualify for? Products; Pricing Plans; Tax Rates; Marketing Programs

Validation IntegrityAm I in a valid State?

Complete, Accurate, Consistent, Correct

Computation Behavior

Compute Me; Configure MeSet values to ensure that the enterprise’s knowledgebase is always rational, in a valid business state

Pricing; Discounts; Taxes; Metrics; Product Configurations

Process BehaviorHere is the Business State I am in.

What Do I Do Next?Usually Event Specific

Authority Behavior

Do I have access to this information?Am I allowed to perform this action?Are there limits on how often I can perform a process or on the what I can approve (e.g. monetary signing authority)?

All decision categories apply to task logic in Robots!

Source: Inastrol’s Business Rules Classification Scheme - http://www.w3.org/2004/12/rules-ws/paper/35/

Page 54: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Two IBM ODM with IBM RPA Integration Patterns

ODM decision API + RPA bot

RPA bot invoke decisions directly via REST or Web Service binding Use JSON Metabot to convert RPA variables to/from JSON

ODM decision Web UI + RPA bot

RPA bot interacts with Web UI automatically generated form ODM decision services Web UI interacts with ODM decisions via REST or Web Services API

API API

Page 55: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

1. Invoking ODM Decisions from a Robot

Getting ODM binding information:Retrieve HTDS Description File from

IBM Decision Server: 1.Web Service WSDL file2. REST Open API (Swagger) file

Invoking ODM Decisions from task script– Use HTDS WSDL file to create

– Use HTDS Swagger to create

Robot can use AA REST or Web Services integrations to invoke ODM decision within a script

Page 56: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

1. Example – Robot Uses ODM to Compute Order Configuration• A robot enters sales order in SAP

• Upon copying the Material entry field, robot invokes ODM decision service to ensure all pre-requisite parts are present in order

• ODM decision returns the pre-req part numbers

• Robot adds these part number to SAP GUI

1 Copy Material to SAP

2 Invoke ODM Decision Service

3 ODM Response

4 Additional Material Added

DECISION

Page 57: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

2. Example – Invoice generation using generated ODM Web UI

Most of the data copied directly from CSV file to Invoice Form

Use generated ODM decision Web UI to derive VAT (Rate) and discounted price

1.Bot copies Category, Price and Quantity form CSV file and

2.Gets response from ODM3.Copies Rate and Discount to Invoice

form

API

Page 58: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

2. ODM Decision Forms Generator (open source contribution)

NPM (NodeJS) express server connected to an ODM Decision Server

Forms are automatically generated, reading the Decision Service swagger file

Get open source contribution odm-decision-forms: https://github.com/ODMDev/odm-decision-forms

REST API

Page 59: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Robot becomes smarter

WATSON

Page 60: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Bots can leverage Watson Cognitive Services

IBM Bluemix Watson Services

Use Watson Cognitive Services to convert unstructured data to structured data for use by bots in desktop automations

Page 61: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Example – Language Transition

Robot calls Watson Language Translation API via REST

Use Watson language detection API to discover what langue is used

Page 62: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Robot becomes smarter

IBM Datacap

Page 63: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

How does IBM Datacap work in concert with IBM RPA?

IBM Datacap efficiently captures, accesses, analyzes critical transactional business content, producing clean structured data that robots need to operate continuously and efficiently.

• Feeds data to robots from non-digital channels like mail, fax, email and mobile capture• Digitizes and extracts data with cognitive capture• Identifies errors before they get to the bots, minimizing exceptions

Page 64: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

IBM Datacap identifies errors before they get to the botsMinimizes Exceptions

• High quality recognition using 3 commercial OCR/ICR engines• Extracts data using text analytics, NLP, structural analysis• Cleans results – e.g. common substitution errors -- oO0 il1 B8 • Built-in data validation – patterns, lookups• Identifies potential exceptions• Includes human intervention via correction workflow• Learns from corrections

Page 65: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

IBM Datacap

Extracts sales order information from scanned documentsSaves sales order information in MS Excel or CSV files

Page 66: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Use IBM RPA creates sales orders in SAP from data in EXCEL

Page 67: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Robot starts a process

Robot becomes smarter

Four IBM RPA Integration Patterns

Robot completes a task

Process starts a robot

TASKPROCESS

PROCESS

DECISION WATSONIBM

Datacap

IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation

Page 68: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

Thank you

68IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation

Jeff GoodhueWorldwide Digital Technical Seller—@[email protected]

Page 69: Technical Session: Task · Bot Runner Clients Bot Runner Bot Creator Control Room API Active Directory File Store SubVersion Mail Server Load Balancer Replicator Scheduler Services

69IBM Automation 2018 / Presentation Title / June 5-13, 2018 / © 2018 IBM Corporation