What is a Fleet?
Fleet is a group of bots. It is a way to manage multiple bots and configure them at a central location.
You can configure things like Global Communication Channel, default listener, multiple integrations, global evaluator etc. Once the fleet is ready you can deploy the fleet to multiple Integrations (Ex: AWS Accounts).
Example:
Let's say I have two integrations: aws and azure. I can organize my bots with two fleets, one for aws and one for azure. Now, if i want to change the evaluator rules for my aws bots or want to change the approval communication channel for azure bots, it can be achieved easily and with a very few steps.
How to make a Fleet?
- Login to the application.
- On the left hand side, in the sidebar, click on Fleets.
- On the right hand side, click on + New.
- In the center top, title the fleet.
- Select bots and/or templates.
- Click on Next on the right side.
- (Optional) Set overrides.
Override options- Evaluator JSON
JSON rules for the evaluator.- Click on Set Evaluator Json.
- Enter JSON in the textfield.
Example:
{ "id":"g-0.9287244449734838", "rules": [ { "id": "r-0.8576993410005961", "field": "id", "operator": "begins_with", "valueSource": "value", "value": "sample" }, { "id": "g-0.5458054448633298", "rules": [], "combinator": "and", "not": false } ], "combinator": "and", "not": false }
id
: unique id of the evaluatorrules
: array of rule objects
id
: unique id of the rulefield
: the field which the rule will evaluate
Possible values:
id
name
createdOn
isPublicRead
isPublicWrite
tags.Key
tags.Value
region
operator
: type of evaluation operation
Possible values:
begins_with
not_begins_with
between
not_between
contains
not_contains
ends_with
not_ends_with
valueSource
: where the value is coming fromvalue
: the actual value of the evaluator
combinator
: the combination operation type
Possible values:and
: logical and operationor
: logical or operation
not
: boolean used to negate the rule. The opposite of the rule is true if value of this field is false.
You can also nest the rules.
- Approval Integration
Integration for sending approval notifications.- Choose Type.
- Choose an Account Id (integration id).
- Choose an Automation (integration action).
- Evaluator JSON
- Click on Done.
How to view a Fleet?
- Login to the application.
- On the left hand side, in the sidebar, click on Fleets.
- Click on the name of the fleet you want to view.