[2] How to use akaBot Studio

Last modified by VuNH54 on 2023/04/13 15:54

Introduction

I. Purpose

akaBot Studio is one of 3 components of akaBot suite.

akaBot Studio is a solution for application integration, business processes automation. It provides a wide range of activities to model almost of the business processes within one organization – from simple to complex.

The tool pre-builds hundreds of activities to perform the actions of automations on web, on desktop, working with data base, generating the PDF files, sending emails…

This document aims to guide you how to use the akaBot Studio.

II. Audience

This document targets to the developers who will use the akaBot Studio to develop the automating business process.

image-20220506161325-1.png

akaBot Studio User Interface

akaBot Studio contains multiple panels which allows you to easily access to specific functionalities as below:

#PanelDescription
1FileDisplay the functionalities which you can use to operate on the file.
2HomeDisplay the functionalities which you can use to work on the automation projects.
3ActitvitiesShow all available activities which can be added to your automation projects. The activities are grouped into different categories such as: Excel, XML, ControlFlow, Primitives, Care, HTTP...
4DesignerDisplay you automation projects in a visual manner. It allows you to access, configure the variables, value inside the activities to make them do the automation actions.
5PropertiesDisplay the properties of current focused activities, enable you to change the value of properties and automatically save new value when focusing out.
6Workflow OutlineDisplay the project hierarchy of current project.
7Error ListDisplay the error list with error details while running the project.
8OutputDisplay the output of the project.
9DebugDisplay the variable values and other debugged information.

I. File Panel

To access the File panel, click File at the top left corner of the screen:
The User Interface of File panel is as below:

image-20220506161341-2.png

The File panel allows you to perform some below actions:

#TabDescription
1NewCreate a new workflow project.
Refer to section: 2.2.1 Create a new workflow project for detailed user guide.
2OpenOpen an existed workflow project.
Refer to section: 2.2.2 Open a project for detailed user guide.
3OptionsChange some configuration parameters related to: Debugging, References Directories.
Refer to section: 2.2.3 Change configuration options for detailed user guide.
4AboutView the version details of akaBot Studio
Refer to section: 2.2.4 View version details for detailed user guide.
5ExitClose akaBot Studio
Refer to section: 2.2.5 Close akaBot Studio for detailed user guide.

1. Create a new workflow project.

Each business process may be represented by an akaBot project which enables you to automate rule- based processes, by giving you full control of the execution order and the relationship between a set of predefined activities in akaBot Studio.

To create a new workflow project, you should follow below actions:
Step 1: Click ‘New’
Step 2: Choose type workflow: Blank or General Business Process

image-20220506161355-3.png

Step 3: Enter name project
Step 4: Click button ‘Create’ to finish.

image-20220506161409-4.png

After clicking, by default a sequence activity will be shown up in the Designer panel allowing you to start developing your project.

image-20220506161420-5.png

2. Open a Project

To open an existed workflow project, you can follow below actions:

Step 1: Click Open

image-20220506161431-6.png

Step 2: Choose file with format file is *.xaml
Step 3: Click button ‘Open’

image-20220506161441-7.png

3. Change configuration options

This window to support them setup: Debug mode, and add references Directories
Debug
Step 1: Click ‘Options’

image-20220506161453-8.png

Step 2: Press to up or down size milliseconds between debug ste Step 3: Press button ‘Ok’ to submit the change configuration / ‘Cancel’ to close this window
and cancel this process.

image-20220506161506-9.png

4. References Directories
Step 1: Click ‘Options’

image-20220506161542-11.png

Step 2: Choose tab ‘References Directories’
Step 3: Click button ‘Add’

image-20220506163530-12.png

Step 4: Click ‘Ok’ to choose a folder

image-20220506163624-13.png

Step 5: Press button ‘Ok’ to submit the change configuration / ‘Cancel’ to close this window and cancel this process.

image-20220506163635-14.png

4. View the version details

You can view the version of akaBot Studio by click in tab ‘About’:

image-20220506163647-15.png

About akaBot Studio screen will be previewed Product details as below:

image-20220506163706-16.png

5. Close akaBot Studio

When click Exit, akaBot Studio will be closed.

image-20220506163718-17.png

II. Home Panel

To access the Home panel, click Home at the top of the screen:

image-20220506163730-18.png

The Home panel allows you to perform some below actions: New, Save, Start, Debug, Stop, Open Logs, Publish, Add activity

image-20220506163802-19.png

#ItemDescriptionMore Details
1NewCreate new sequence, flowchart, State Machine2.2.1 New
2SaveSave project2.2.2 Save
3StartRun BOT2.2.3 Start
4DebugDebugging is the process of identifying and
removing errors from a given project
2.2.4 Debug
5StopStop BOT when it’s running2.2.5 Stop
6Open LogsOpen folder that have log file2.2.6 Open Logs
7PublishPublishing automation project2.2.7 Publish
8Add activityAdding a activity2.2.8 Add activity
9Show or hide toolsShow or hide the functions window2.2.9 Show or hide
tools

1. New

There are 3 main types of projects:

  • Flowcharts - suitable to a complex business logic which needs to integrate decisions and connect activities by using multiple branching logic operators.
  • Sequences - suitable to defined linear processes from one activity to another without cluttering your project.
  • State Machines – suitable for very large projects which have number of states triggered by a transition condition.

In this item, you can create new these three types
 

a. State machine diagram

  • Step 1: Choose New + State machine diagram

image-20220506163819-20.png

  • Step 2: Enter name diagram
  • Step 3: Click button ‘Create’

image-20220506163830-21.png

b. Flowchart

  • Step 1: Click 'new' > Flow Chart

image-20220506163843-22.png

  • Step 2: Enter name flowchart diagram
  • Step 3: Click button ‘Create’

image-20220506163854-23.png

c. Sequence

  • Step 1: Click 'new' > Sequence

image-20220506163903-24.png

  • Step 2: Enter name flowchart diagram
  • Step 3: Click button ‘Create’

image-20220506163912-25.png

2. Save

  • Step 1: Edit activity, control flow,… in project
  • Step 2: Click 'Save' > Save if only save changes or Click Save as if save with different *.xaml file.

image-20220506163922-26.png

  • Step 3: Enter name *.xaml file > click button Save

image-20220506163935-27.png

3. Start

Click button

image-20220506164345-28.png

to run BOT. Wait a few minutes for the BOT to finish and see result in Output Window
 

4. Debug
Click

image-20220506164355-29.png

to identify and remove errors from a given project. Coupled with logging, it becomes a powerful functionality that offers you information about your project and step-by-step highlighting, so that you can be sure it is error-free.
 

5. Stop
When starting or debugging the process, you can click

image-20220506164407-30.png

to stop this process.
 

6. Open Logs
Click

image-20220506164423-31.png

to open folder have log file - display details about what is happening in your project

7. Publish

  • To publish an automation project:
  • Step 1: Create / Open a new project.
  • Step 2: In the Home ribbon tab, click Publish. Theo Publish project window opens
  • Step 3: In the Publish Location category, set the project to be published to Orchestrator

8. Add Activity

  • To add activity
  • Step 1: In the akaBot Studio click File menu, chose Options.
  • Step 2: In the table Options, click References Directories tab, click Add button and chose directory containing the activity library (.dll Files) to load activities.
  • Step 3: In the akaBot Studio click Add Activities. , chose activities from the list and press Add.

9. Show or hide tools

  • Check or uncheck box to show or hide tool in screen of akaBot Studio.

image-20220506164436-32.png

III. Activities

This panel displays all the built-in activities which aid in the creation and the execution of automation projects. These activities enable robots:

  • Manipulate the data by adding/extracting/reading information.
  • Directly interaction with websites, windows applications…to simulate the human actions.

image-20220506164447-33.png

The activities are grouped in different categories such as: Flow chart, Control Flow, Primitives, Core, Excel, XML, Browser…
You may quickly add an activity into the project workflow by searching by activity name and drag the activity in the Designer panel.

Please refer to section III. akaBot Studio Activities for details of each activity.

IV. Designer

The Designer panel allows you to design your automation projects by designing the workflow, defining logic, creating variables/arguments or importing the namespaces.

image-20220506164458-34.png

You may design the workflow or defining business logic of the workflow by using activities in Activities panel then connect these activities by the arrow.
To connect activity A to activity B, you need to click to activity A, hold the mouse and drag to the activity B to create a link (represented by an arrow) between these 2 activities.

You may set what activities will be the starting point by connecting Start activity to selected one.
Depending on the activity, you may place an activity inside another activity such as: Parallel, If, Flowchart, Sequence…

1. Create a variable

To create a variable, follow below steps:

  • Step 1 - Click Variables tab.
  • Step 2 – Fill variable properties.

image-20220506164513-35.png

Variable Properties:

#PropertyDesrciption
1NameVariable name
2Variable TypeThe type of variable: String, Int32, Boolean…
3ScopeScope of variable defines where the variable works in.
4Default ValueDefault value of variable.

2. Create an argument

To create an argument, please follow below steps:

  • Step 1 – Click Arguments tab
  • Step 2 – Click Create Argument option.
    The new argument will be displayed with all default values. You may customize these values for the created argument.

image-20220506164526-36.png

3. Import a namespace

To import a namespace, please follow below steps:

  • Step 1 – Click Imports tab
  • Step 2 – Find the namespace you want to import
  • Step 3 – Double click the namespace to import.

image-20220506164536-37.png

V. Properties

This panel is contextual and enables you to view and change the properties of a selected activity.

  • Step 1: Double click an activity in Designer panel.
    Properties of that activity will be showed in Properties panel.

image-20220506164546-38.png

  • Step 2: Change the properties

VI. Workflow Outline

This panel display the hierarchy of the workflow listing all the used activities and their connection.

You can double click on an activity to quickly open it.

image-20220506164556-39.png

VI. Verify output, error, debug

1. Verify output

When run akaBot Studio, you can see result in each step.

  • Step 1: Click 'Start' to run akaBot Studio
  • Step 2: Click the “Output” button at bottom left to see.

image-20220506164607-40.png

2. Verify error

Click the “Error List” button at bottom left

image-20220506164616-41.png

3. View debugging information

  • Step 1: Choose “Debug” when running
  • Step 2: Check the debugging information in the Debug tab as below:

image-20220506164626-42.png

Akabot Studio Activities

Please access the Activities section to view details about the current activities, packages and how to use them.

Publish package

After finishing developing the bot, you should publish it to local or center, this provides better version control, centralized management, easier collaboration, optimized deployment, scheduling, and monitoring capabilities for your RPA projects.

Here are the steps to publish the source code:

Prerequisite: Make sure you have akaBot Studio and akaBot Agent that are connected to the Center and your user account has appropriate permissions. You also need a project containing your source code in your local workspace.

Step 1. Open your source code project in the akaBot Studio application.

Step 2. Check your source code and ensure it meets your requirements and is free of errors.

Step 3. Once you're satisfied with your source code, click on the "Publish" button in the top-right corner of the akaBot Studio window. This will bring up the "Publish" window.

image-20230413154434-1.png

Step 4. In the "Publish" window, choose the publish location: either "Center" or "Local".

image-20230413154502-2.png

   a. If you choose "Center", follow these steps:

    • i. If required, add a Release Notes for your project in the appropriate fields. The version will be auto-generated you can edit it by click to the New Version field. This will help you keep track of the different versions of your project.
            
      ii. Once you have provided all the necessary inputs, click the "Publish" button. Your project will be published to the Center.

      iii. You can check the result in Center or in "C:\Users\your user\AppData\Local\akaBot\Projects\Central" folder

   b. If you choose "Local", follow these steps:
     i. If required, add a Release Notes for your project in the appropriate fields. The version will be auto-generated you can edit it by click to the New Version field. This will help you keep track of the different versions of your project.
     ii. After entering the necessary information, click the "Publish" button. Your project will be published to the local directory: "C:\Users\your user\AppData\Local\akaBot\Packages\Studio".

Step 5. Here is the successful publishing window:

Center:

image-20230413155100-3.png

Local:

image-20230413155342-4.png

 

  
Navigation