Blue Prism Process Dispatch Framework User Guide
Blue Prism Process Dispatch Framework User Guide
USER GUIDE
Version: 1.1
Document Revision: 1.1
www.blueprism.com
Contents
1. Introduction...................................................................................................................... 3
2. Solution Overview............................................................................................................ 4
3. Pre-Requisites and Environment Configuration................................................................6
3.1. Additional VBOs.......................................................................................................... 6
3.2. Credentials................................................................................................................. 6
3.3.information
The Steps to Implement....................................................................................................
contained in this document is the proprietary and confidential information of Blue Prism 9
Limited and should not be disclosed to a third party without the written consent of an authorised Blue Prism
4.representative.
Utility – Process
No partDispatcher............................................................................................
of this document may be reproduced or transmitted in any form or by any means, 11
electronic or mechanical, including photocopying without the written permission of Blue Prism Limited.
4.1. Run Process.............................................................................................................. 11
© Blue Prism Limited, 2001 – 2019
4.2. Prism
®Blue Get Process Status...................................................................................................
is a registered trademark of Blue Prism Limited 13
5.All Customizing
trademarks are the Process
hereby Callback
acknowledged andTemplate..................................................................14
are used to the benefit of their respective owners.
6.Blue Prism is not responsible for the content of external websites referenced by this document.
Support........................................................................................................................... 16
Blue Prism Limited, Centrix House, Crow Lane East, Newton-le-Willows, WA12 9UY, United Kingdom
Registered in England: Reg. No. 4260035. Tel: +44 870 879 3000. Web: www.blueprism.com
NOTE: This framework relies on the use of a resource pool to support the execution of
multiple processes in parallel. It is recommended that you create a dedicated resource pool
with enough runtime resources to handle your projected volume of concurrent processes.
For testing purposes, you may configure the resource pool with a single resource PC.
Resource Pool
Process X
Process Y
Process Z
SOAP Request
Process
Dispatcher
Session ID
Work Queue
No
Blue Prism DB
Server
Dispatched Process
Monitor
Work Queue
AutomateC Execution
If your Blue Prism environment does not include a Web Service Consumers role, you can
create it with the following steps:
1. Go to System → Security → User Roles.
2. Click the Create button.
NOTE: The framework does not write, delete, update, or otherwise change any information
within the Blue Prism database.
NOTE: You must set the Access Rights of the credentials such that they can be accessed
by the processes/VBOs of the framework.
5. Expose the utility VBOs: Process Dispatcher and Process Info as SOAP web
services.
NOTE: For details about exposing a Blue Prism VBO as a SOAP web service refer to the
Web Services User Guide available on the Blue Prism Portal.
6. Open the Dispatched Process Monitor process. On the Get Process Results tab,
set the values of:
a. DB Server – The name of the SQL Server instance (ex. localhost\SQLEXPRESS)
b. DB Name – The name of the Blue Prism database within the SQL Server
instance.
c. DB Credential Name – The name of the credential you created in Credential
Manager to hold the read-only database user account information.
7. Open the VBO Template – Process Callback. On the tab, Execute Callback,
implement the necessary logic to support performing a callback in your environment.
NOTE: The implementation of the Execute Callback method is entirely dependent on your
environment and what applications you will be using to invoke Blue Prism processes. There
is an example implementation based on IBM’s Business Automation Workflow environment.
This is simply an example.
8. Verify the following environment variables have values:
a. Process Dispatcher Credential Name
b. Process Dispatcher Resource Pool
c. Queue: Dispatched Processes
9. Define an execution schedule for the process Dispatched Process Monitor (ex.
every 5 minutes).
NOTE: You may pass JSON encoded data via the ProcessParameters variable, but you
must pay close attention to the format and naming. Notice how each input variable name
starts with an “@”. This is required as the JSON will be converted to XML prior to being
passed to AutomateC. The “@” indicates that when the JSON is converted, the item name
should be created as an attribute on the specific XML element.
Ex.
{
'inputs': {
'input': {
'@name':'Loop Count',
'@type':'Number',
'@value':'5'
}
}
}
4.1.2. Outputs
Parameter Type Description
Success Flag A flag indicating whether the action completed
successfully.
Session ID Text The unique identifier of the process session instance.
Output Text The raw output of the AutomateC invocation. This may
contain error information in the event of an error.
Otherwise, it will contain the session ID and information
about which runtime resource the process is executing on.
4.2.2. Outputs
Parameter Type Description
Success Flag A flag indicating whether the action completed
successfully.
Process Status Text One of the following status messages:
Pending
Running
Complete
Output Text The raw output of the AutomateC invocation. This may
contain error information in the event of an error.
Within the Process Callback template VBO, there is an example callback implementation for
IBM Business Automation Workflow. This is an example of a callback process as it relates to
IBM DBA. You will need to implement the logic necessary for your initiating platform.
Additionally, support can be requested via the Blue Prism Community Portal at the link
below:
https://blueprism.connectedcommunity.org/home