[2] Workflow

Last modified by admin on 2023/07/06 13:44

Workflow represents the association between a Package and an Agent Group. Each time a package is linked to an Agent Group, it is automatically distributed to all the Agent machines that belong to that Agent Group.

The Workflows page enables you to deploy an uploaded package to Agent Groups, manage previously created associations and keep all your workflows up to date. This helps you distribute packages on the Agent machines and execute works faster from the Tasks page. To access the Workflows page, you click the Workflow tab at the left menu. After clicking, the system shows the Workflow page listing all existed Workflow as below:

image-20221028093815-5.png

NoColumn/LabelDescription
1Action

Available actions to manage the Log of said Workflow. Includes:
* VIEW: allows you to be redirected to the Task Detail page.
* EDIT: allows you to edit the details of each Workflow
* DELETE: allows you to remove selected Workflow from Center

*START JOB: Quickly create a new Task related to this workflow.

*ADD SCHEDULE: Quickly add a schedule related to this workflow
By selecting the Checkbox corresponding to each Workflow, the delete option will appear beside the Filter option and allow you to delete the
Workflow
! Selecting the Checkbox next to Action will select all Workflow in display and allow you to bulk delete selected them

2Workflow NameThe name of the Workflow. For organization purposes, it is best to create Workflow Name with the format: Package Name_Agent Group Name.
3Package NameThe name of the Package that was published to akaBot Center
4Package VersionThe version of the package that was published to akaBot Center. The package version will be decided when you choose the publish option in akaBot Studio.
5Agent GroupAgent Group which the workflows will be deployed in
6DescriptionThe current version of Package’s published description
7Created byThe user who creates this Workflow.

a. View a Workflow

To view a workflow, you can click the eye button.

image-20221028095243-9.png

Besides all the general information displayed on the Workflow Listing page, the Workflow Details page also included Parameters and Machine Environment information generated when creating/editing the Workflow.

Furthermore, you can see the update history as well as a list of Tasks executed by said Workflow. Details regarding Tasks shall be explained in the Tasks section.

image-20221028094255-6.png

Here, you can search the Task list by  Time, Name, State, Agent of the tasks. 

image-20221028094515-7.png

Users can also delete executed instances of this Workflow by selecting the Checkbox at the beginning of each Task. The Delete button will show up.

image-20221028094854-8.png

b. Search a Workflow

image-20221028095456-10.png

NoColumn /LabelDescriptionTypeMaximumInput Requirement
1Search boxEnter the name of the workflow you want to searchStringNo limit 
2Agent GroupSelect the agent group that the workflow you want to search is attached toInput
searching
No limit 
3PackageSelect the package that the workflow you want to search is attached toInput
searching
No limit 

c. Create a Workflow

To create a workflow, you click the “Create New” button at the top of the page.

image-20221028095700-11.png

After clicking, the system shows a form allowing you to create the workflow.

image-20221028100318-14.png

NoColumn /LabelDescriptionTypeMaximumIs Mandatory?Input Requirement
1Package NameSelect the package you want for the workflow you are creatingInput
searching
No limitYes 
2Package VersionDepends on the package that you chose above
Select the version of the package you chose
Dropdown
list
 Yes 
3Agent GroupDepends on the package version that you chose
Select the agent group that you want to attach the workflow that you are creating to
Input
searching
No limitYes 
4DescriptionEnter the description of the workflow you are creating/editingString255 charNo 

Once filled in all the General information, you can add further Parameters and Machine Environment variables to the Workflow. You can add multiple variables, but you can only add one by one.

image-20221028101129-17.png

NoColumn /LabelDescriptionTypeMaximumIs Mandatory ?Input Requirement
 Parameter
Name
Enter the name of the
parameter
String255 charYes 
 TypeSelect the type of the
parameter
Drop down
list
 Yes 
 ValueDepends on the type that
you chose
Enter/select the value of
the parameter
    
  If you chose stringString500 charYes 
  If you chose boolBoolean,
SingleChoice
 Yes 
  If you chose integerInt32500 charYes 

image-20221028101149-18.png

NoColumn /LabelDescriptionTypeMaximumIs Mandatory?Input Requirement
1Variable NameEnter the name of the variableString255 charYes 
2TypeSelect the type of the variableDropdown list Yes 
3ValueDepends on type that you
chose Enter/select the value of the variable
  Yes 
  If you chose stringString500 charYes 
  If you chose boolBoolean, SingleChoice Yes 
  If you chose integerInt32500 charYes 

d. Edit a Workflow

To edit a workflow, you click the Three dots button, then click Edit.

image-20221028095829-12.png

After clicking, the system shows a form allowing you to edit the info of the workflow.

image-20221028100409-15.png

NoColumn /LabelDescriptionTypeMaximumIs Mandatory?Input Requirement
1Package VersionDepends on the package that you chose above
Select the version of the package you chose
Dropdown
list
 Yes 
2Agent GroupDepends on the package version that you chose
Select the agent group that you want to attach the workflow that you are creating to
Can not edit   
3DescriptionEnter the description of the workflow you are creating/editingCan not edit   

Once edit package version, you can edit further Parameters and Machine Environment variables to the Workflow. You can add multiple variables, but you can only add one by one (same as above).

e. Delete a Workflow

To delete, you click the Three dots button, then click Delete.

image-20221028101551-19.png

Alternatively, you can select the checkbox before each Workflow and the Delete button will show up next to the Filter button. Tick the Checkbox next to Action will allow the user to select all displayed Agent for bulk delete.

image-20221028101717-20.png

After clicking, a system will show a confirmation message for you to confirm.

image-20221028101740-21.png

 

  
Navigation