Sub Activity – Dialog

This System category includes activities for interacting with users through dialog boxes. These activities help facilitate user interaction within automation workflows.

The Dialog activity has the following sub activities:

Input Dialog: This activity displays a dialogue box that prompts the user with a label message and input field.

Input Properties:

  • Title: Title of the dialog box.
  • FieldLabel: The label for the dialog box’s input field.

Output Properties:

  • Output: The value inserted by the user in the input field.

Message Box: This activity displays a message box with the given text.

Input Properties:

  • Message: The text to be displayed in the message box.
  • Caption: The title of the message box.
  • Mouse Button: Select the required buttons like OkOkCancel, YesNoCancel, YesNo.

Output Properties:

  • ChosenButton: Displays The Selected Button.

Select File: This activity is used to retrieve the path of the file that has been manually selected by the user.

Input Properties:

  • Filter: A filter to shortlist files based on specific criteria.

Output Properties:

  • SelectedFile: Returns the full path of selected file in a String variable.

Sub Activity – Clipboard

This System category includes activities for handling clipboard operations. These activities help automate copy-paste actions within workflows.

The Clipboard activity has the following sub activities:

Get From Clipboard: This activity retrieves the copied text from the clipboard.

Output properties:

  • Text: The string variable that retrieves the text content from the clipboard.

Set To Clipboard: This activity copies the input text to clipboard.

Input Properties:

  • Text: The text you want to copy to the clipboard.

Sub Activity – Application

This includes activities for opening and managing applications, allowing automation of application-related tasks.

The Application category has the following sub-activities:

Kill Process: This activity terminates any instance of a specified running application.

Input Properties:

  • ProcessName: The name of the Process to be closed.
  • BasedOnUser: If checked, this activity will kill process started by the current user.

Open Application: This activity allows the user to open the specified application and create an application object.

Input Properties:

  • FileName: The full path or name of the Application to be opened.
  • Arguments: Arguments to be passed to the process.
  • ApplicationWindow: Window variable that returns active window.

Start Process: This activity helps to start a new Process.

Input Properties:

  • FileName: The name of the application to start, or the name of a document associated with an application that has a default open action.
  • Arguments: Command-line arguments to use when starting the application.
  • WorkingDirectory: Working directory for the process to be started.

Sub Activity – Transaction

Transactions handle and process individual transactions within your automation, allowing you to add, retrieve, and manage transaction items and queue entries efficiently.

The Transaction category has the following sub-activities:

Add Transaction Item: This activity adds a new item to the queue and starts a transaction.

Input Properties:

  • QueueName: Specify the name of the created queue where the queue item will be added.
  • Reference: A string or string variable used as an identifier for a queue item or a group of items.
  • TransactionInformation: Collection of additional information about the specific transaction item that is to be added.
  • Priority: It is to prioritize the transaction item that is added to the queue depending on priority list.

Delete Queue Item: This activity is used to delete a particular transaction from a specified queue in the Bot Manager.

Input Properties:

  • Transaction: Gets TransactionItem as input.

Get Queue Item: This activity enables to get a list of transactions from a specified queue in the Bot Manager.

Input Properties:

  • Filter: Creates query for filtering queue details.

Output Properties:

  • TransactionItem: Enter the QueueItem variable created which stores the first item from a queue, according to its priority and deadline.

Get Queue Items Details: This activity retrieves the list of transactions from a bot manager queue based on the multiple filters.

Input Properties:

  • Filter: Query for filtering queue details.

Output Properties:

  • QueueItems: The list of items from Bot Manager Queue that you want to retrieve.

Get Transaction Items Details: This activity enables the user to retrieve a list of transactions from a queue according to the filter(s).

Input Properties:

  • Filter: Query for filtering transaction details.

Output Properties:

  • TransactionItem: The list of items from the transaction that you want to retrieve.

Start Transaction: This activity helps to start a transaction in a particular job.

Input Properties:

  • QueueName: Specifies the name of the created queue.
  • Name: Specifies the name of the transaction to display.
  • Reference: Enter a string or string variable to act as an identifier for a queue item or a group of them.
  • TransactionInformation: Collection of additional information about the specific transaction item that is to be added.

Output Properties:

  • TransactionItem: Transaction variable that stores the transaction item.

Update Transaction Progress: This activity is used to update the transaction progress and transaction information.

Input Properties:

  • Progress: The custom progress status to set for the TransactionItem.
  • ItemInformation: Details of the transaction item for which progress is being checked.
  • TransactionItem: The transaction item whose progress is to be updated.

Update Transaction Status: This activity can be used to update the status of the transaction item to either Failed or Completed which will be reflected under the details of a particular queue in the Bot Manager.

Input Properties:

  • Status: The status to set for the TransactionItem, either ‘Completed’ or ‘Failed.
  • Output: Get data from transaction item using parameter.
  • TransactionItem: Transaction item whose status is to be updated.

Transaction Error:

  • Reason: The reason for which transaction failed. This field supports only string and string variables.
  • Error Type: The error type that the failed transaction has thrown.

Log Custom Message: This activity enables the user to send custom logs to the Bot manager and display them on the Jobs page.

Input Properties:

  • Description: The message you want to log.
  • Source: An activity label that helps to record the activity information in a log.

Sub Activity – Settings

The section contains configuration-related activities. It includes options like Send Mail From Bot Manager, which allows automated email communication from the bot.

The Settings category has the following sub activity:

Send Mail From Bot Manager: This activity is used to send an email through Bot Manager by using the SMTP server settings in the Bot Manager. 

Input Properties:

  • ServerType: Specifies the server type (GenieServer or RobotMachine) for sending emails.
  • Attachments: Allows adding files as email attachments.

Email Properties:

  • Body: Defines the email content.
  • Subject: Specifies the email subject.
  • IsBodyHtml: Indicates whether the email body contains HTML formatting.
  • MailMessage: Accepts an email message object for sending.

Receiver Properties:

  • To: Specifies the primary recipients.
  • Bcc: Adds hidden recipients.
  • Cc: Adds recipients in the carbon copy field.

Sender Properties:

  • From: Defines the sender’s email address.

Sub Activity – Resource

Resource includes activities for adding, updating, and deleting resources to ensure efficient workflow execution and optimal bot performance.

The Resource activity has the following sub activities:

Add Resource: This activity is used to add a particular resource to the Bot Manager.

Input Properties:

  • Resource– Enter the resource to be added to the BMT.

Delete Resource: This activity is used to delete a particular resource which is stored in the BOT Manager.

Input Properties:

  • ResourceName– Enter the name of the resource to be deleted.

Get Multiple Resources Value: This activity can be used to retrieve the values of multiple resources that are stored in the Bot Manager.

Input Properties:

  • Resources– Specify the names of the resources whose values are to be retrieved.

Get Resource Value: This activity retrieves the value of a particular resource which is stored in the Bot Manager.

Input Properties:

  • Resource– Enter the name of the resource that contains the required value.

Output Properties:

  • Value– The variable that stores the value associated with the specified resource name.

Update Resource: This activity is used to update a particular Resource which is stored in the Bot Manager.

Input Properties:

  • Resource– Enter the new value for the specified resource. Or Input the updated value for the specified resource.

Sub Activity – Process

Process controls and monitors automated processes and jobs, utilizing activities to manage execution and handle stop requests.

The Process category has the following sub activity:

Stop Process Requested: This activity is used to check whether a user has stopped a running job using the stop option in the Bot Manager.

Input Properties:

  • Stop Process: if checked, this activity will stop the process based on the status of the BMT Job.

Output Properties:

  • Result: The result of the activity, represented as a boolean variable, is determined by the status of the BMT Job.

Demo Project using Job Activities

The URL of the demo project is given below where users can learn about these activities in a better manner. 

Steps:

Hello World Project: 

  1. Drag and drop the message box 
  2. Display the message “Hello World” in the message box. 
  3. Publish the project 
  4. From the Bot Manager, create a job for the Hello World Project by adding it as a process.  
  5. Create a separate project in the Genie Studio to use the Bot Manager activities. 
  6. Drag and drop Start Job activity. 
  7. Provide the necessary details in the input properties of the start job activity. 
  8. Execute the activity by clicking on the Play button in Genie Studio. 
  9. Disable the Start Job Activity and drag and drop the Get Job Details activity. 
  10. Configure the input properties of Get Job Details activity to access the job details of the Hello World project and store the result in an array list. 
  11. Use the For Each activity to loop through the array list. 
  12. Display each detail of the job in a Message Box. 
Activities Used“Get Job Details, Start Job, For Each, Message Box”
Video Linkhttps://www.youtube.com/watch?v=jWaNs4ERAhE&list=PLwFA5laAhcEJ7sVztHRNXDdXffy2odMvv&index=39&t=1s

Sub Activity – Job

This section includes a collection of activities that aid in managing and controlling job activities within workflows. The users can track and monitor the execution of these jobs via the Bot Manager.

The Job category has the following sub activities:

Get Current Robot: This activity is used to retrieve the current robot details.

Output Properties:

  • JobDetails: Gets the Job details.

Get Current Job: This activity is used to retrieve the Current Job Details.

Output Properties:

  • RobotDetails: Gets the Current Robot Details.

Get Job Details: This activity enables the user to retrieve a list of jobs from an indicated Bot Manager queue, according to multiple filters.

Input Properties:

  • Filter: Query for filtering job details.

Output Properties:

  • Job Details: The list of items from the specified job that are to be retrieved.

Start Job: This activity enables you to start a job in the BOT Manager on a specified Robot.

Input Properties:

  • RobotName: Name of the robot used to execute the process specified in ProcessName.
  • ProcessName: Name of the process that is to be started.
  • Arguments: A list of parameters that are passed to the invoked workflow at runtime.

Stop Job: This activity enables the user to stop a job in the BOT Manager.

Input Properties:

  • Job: Specify the job to be killed or stopped.
  • Stop Type: Choose the type of stop.