Professional Documents
Culture Documents
Introduction To The Course: Implementing Back Office Automation Using Automation Anywhere Robotic Interface: Step List
Introduction To The Course: Implementing Back Office Automation Using Automation Anywhere Robotic Interface: Step List
Introduction
This demo will help you to create the bots, the forms, and the process for the use case.
Prerequisites
You need access to Automation 360 Enterprise Edition.
Note that you can also use the Automation 360 Community Edition to create bots, forms, and
process for this use case.
1. Create the forms to input and display invoice details
a. Create a form to input invoice details
i. Log in to the Control Room as a bot creator user.
ii. In the Navigation pane, go to Automation, and then create a subfolder named AARI.
iii. Click Create a form.
iv. Enter a name for the form and click Create & edit.
v. In the canvas, select the default row and click vertical ellipsis (three dots).
vi. Select Delete row and click Yes, delete.
vii. From the Elements palette, drag and drop the Text Box element into the canvas.
viii. In the Properties pane, enter the Element label as “Supplier Name”.
ix. Next, drag and drop the Number element into the canvas.
x. In the Properties pane, enter the Element label as “Invoice Number”.
xi. Next, drag and drop the Date element into the canvas.
xii. Next, drag and drop the Number element into the canvas.
xiii. In the Properties pane, enter the Element label as “Amount”.
xiv. Select the Supplier Name text box.
xv. In the Formatting section, select Custom.
xvi. Click Add regular expression.
xvii. In the Regular expression field, enter [a-z].
xviii. To test the regular expression, enter a valid text in the Test Content field and click Test
regular expression. If no error is returned, the string you entered matches the regular
expression.
xix. In the Formatting section, select Standard.
xx. Click Save and then, click Close.
1
vi. Repeat step v to add a Date element with the label Date.
vii. From the Elements palette, drag and drop the Select File form element into the canvas.
viii. In the Properties pane, enter the Element label as Upload Invoice and provide a hint in
the Hint below field.
ix. Click Save and then, click Close.
3. Create the process that will be triggered when the bot encounters an error.
a. Create the process for the invoice use case
i. In the Automation page, click Create a process icon.
ii. Enter the Name for the process in the Create process popup.
iii. Click Create & edit.
2
iv. Click and configure Start element in the canvas
iv.1. In the Element details pane, click Browse under Select initial data form field.
iv.2. In the Find a form popup, click Browse.
iv.3. Select the first form you created and click Choose.
iv.4. Click Insert a variable icon in Request title field.
iv.5. In the Insert a variable popup, click Variable Source dropdown and select
Request.
iv.6. Click Variable dropdown and select the invoice Number input variable from the
list.
iv.7. Click Add.
v. From the Task palette, drag and drop the Human Task in the canvas.
vi. In the Element details pane, enter Element name and Task name.
vii. You can auto assign this task to the user who created the request. For this, select the
Assign this task to the user who created the request checkbox.
viii. Click Browse under Select form field.
ix. In the Find a form popup, click Browse.
x. Select the Approval Form you created and click Choose.
xi. In the Feed data into form section:
xi.1 Select Supplier Name.
xi.2 In the Variable Source drop down, select Request.
xi.3 Click Variable dropdown and select the Supplier Name Text Box variable from the
list.
xi.4 Click Add.
xii. Repeat step xi to add Invoice Number form element.
xiii. Repeat step xi to add Date form element.
xiv. Repeat step xi to add Amount form element.
xv. Add two buttons to the task
xv.1 Click Add button in the Add form button section.
xv.2 Enter BUTTON LABEL as Approve and set the button style as Primary.
xv.3 Enter BUTTON LABEL as Reject and set the button style as Secondary.
xvi. Click Save.
b. Validate that the invoice date entered is after 01/01/2021. If it is earlier than 01/01/2021,
prompt the user to confirm the date.
i. Drag and drop the If/Else condition before the Human Task.
ii. Click the If condition.
iii. In the Display message field, enter Validating Invoice Date.
iv. Select Date Condition and in the Select a datetime variable field, select Date variable
from the initial Request form.
v. Select Greater Than (>) as the operator.
vi. Select Enter a value and a datetime format and enter 01/01/20201 in the Enter a value
field.
vii. Enter MM/dd/yyyy in the Enter the datetime format field.
viii. Click the Else element.
ix. Update the task name as ConfirmDate and the Display message as Confirm Invoice
Date.
x. Drag Human task into the Else branch.
xi. Enter ConfirmDt as the Element name.
xii. Enter Confirm Invoice Date as the Task name.
3
xiii. Select the Confirm Invoice Date in the Select form field.
xiv. Select the Auto assign this task to the user who created the request checkbox.
xv. Add two buttons to the task
xv.1 Click Add button in the Add form button section.
xv.2 Enter BUTTON LABEL as Confirm and set the button style as Primary.
xv.3 Enter BUTTON LABEL as Reject and set the button style as Secondary.
xvi. In the Feed data into form section:
xvi.1 Select Invoice Number and then, click Insert variable.
xvi.2 In the Variable Source drop down, select Request.
xvi.3 Click Variable dropdown and select the Invoice Number-Number variable from the
list.
xvi.4 Click Add.
xvii. Repeat step xvi to add Date form element.
xviii. Drag and drop the If/Else condition before the Failed element.
xix. Click the If condition.
xx. Select String Condition and in the source value field, click Insert a variable.
xxi. In the Insert a variable popup, select the ConfirmDt in Variable Source, select Meta in
the Variable type drop-down and then, select status in the Variable drop-down.
xxii. Click Add.
xxiii. Select Equals to(=) as the operator.
xxiv. Enter Confirm in the Target value field.
xxv. Drag and drop the Go to element into the If condition. You can see that the Go to
element replaces the Failed element.
xxvi. In the Select target task field, select the ApproveForm Human task you had created.
xxvii. Under the Else branch, click the Failed element.
xxviii. Select the End process status as Cancelled and update the Display message as Task
Cancelled.
c. Create a condition and action to be performed depending on whether the Approve or the
Reject button was selected:
i. From the Condition palette, drag and drop If/Else pair condition above the Completed
element in the canvas.
ii. Click If branch in the canvas.
iii. Select the required condition from the drop-down list. In this case, select String
condition.
iv. Assign the Source value for the condition.
iv.1. Click Insert a variable icon.
iv.2. In Variable Source, select ApproveForm from the dropdown.
iv.3. In the Variable type, select Meta.
iv.4. In the Variable, select Status.
iv.5. Click Add.
v. In the Operator, select Equals to (=).
vi. Enter Approve in the Target value (optional) field.
vii. Click Save.
4
iv. In the Find a Task Bot popup, select Invoice Intake Bot Process.
v. Click Choose.
vi. Select the Input value and map it with the output variable
vi.1 Check the invoiceNumber checkbox.
vi.2 Click Insert a variable.
vi.3 In Variable Source, select ApproveForm.
vi.4 In Variable type, select Output.
vi.5 In Variable, select Invoice Number.
vi.6 Click Add.
vii. Repeat step vi to add supplierName.
viii. Repeat step vi to add date.
ix. Repeat step vi to add amount.
x. For Invoice file, select the input value and map it with the output variable
x.1 Check the InvFile checkbox.
x.2 Click Insert a variable.
x.3 In Variable Source, select ConfirmDt.
x.4 In Variable type, select Output.
x.5 In Variable, select Upload Invoice.
x.6 Click Add.
xi. Click Failed end point, select the End process status as Cancelled.
xii. Enter the Display message as Task Cancelled.
xiii. Click Save and click Close.
a. Check in the Process to make the process available for the AARI-Admin in the AARI Web
Interface.
i. In the Automation page, click Check in process corresponding to the Invoice Intake
Approval process.
ii. In the Check in Process page, enter the Comment and ensure that the bots and forms
are displayed in the Dependencies section.
iii. Click Check in.
iv. The checked in process and the dependent forms and bots are displayed in the Public
folder.
5
viii. Click Apply.
ix. In the Members section, assign Role to each member in the team.
Note: Each team should have at least one Admin.
x. Click Save.
6
Note: The public repository URL should be prefixed with the repository:/// followed by
the path of the process in the public folder. If there is a space in any of the folder name or
the process name, it should be replaced with the %20 string.
vii. In the Inputs needed to create the Request field, select Variable tab and then select
inputs.
viii. In the Assign the Request ID to (Optional) field, you can create and assign a number
variable if required.
ix. Click Save and the click Close.
7. Run the invoice intake task bot and close the request in AARI web
a. Run the invoice input task bot from the Public repository.
i. In Automation page, select the required task bot.
ii. Select Run Task Bot.
iii. In the BOT AND DEPENDENCIES tab, review the task bot and click Next.
iv. In the RUN AS tab, select the bot runner account and click Next.
v. In the DEVICE POOLS tab, select the device pool from the Available device pools list and
click Right arrow.
vi. Click Next.
vii. In the GENERAL tab, enter a name for the task bot and click Run bot now.
b. Assign a user to the task in AARI web and close the request
i. Login to AARI Web as the AARI user.
ii. Click the Requests > All requests.
iii. The request created by the bot is displayed with the status Open.
iv. Click the status to open it.
v. Click Assign to me.
vi. Click Browse to upload the invoice copy and change the date.
vii. Click Confirm.
viii. Now, log out and login as another user in the same team.
ix. Open the task from the All requests page.
x. Provide a comment and click Approve.
xi. The Invoice Intake Bot Process that you defined in the process is triggered.
xii. The message box from the Bot with all the invoice details will be displayed. Click Close.
Congratulations! You have now successfully created the bots, the forms, and the process for the
Invoice processing use case. You have also closed the request in AARI web.