Skip to main content

CLI Usage


After installing the CLI executable, launch Terminal to start working with the A8FLow logs.

A8Flow

USAGE

a8flow
a8flow --help

CLI-Log

Help

-h / --help command can be used to get command-line tips within the terminal.

Usage example: a8flow --help (or) a8flow auth:login --help


Auth

USAGE

a8flow auth
a8flow auth --help

CLI-Log

Login

For logging in to your environment.

USAGE

a8flow auth:login
a8flow auth:login --help

OPTIONS

-CommandDescriptionRequired
Login URL-lGets the login auth token for the user.
Help-h
--help
Show CLI help.
Example

a8flow auth:login -l <login page url>
Username: <enter userId>
Password: <enter password>

CLI-Log

Logout

For logging out of your environment.

USAGE

a8flow auth:logout

CLI-Log


Log

USAGE

a8flow log
a8flow log --help

CLI-Log

Follow

Shows the follow up logs in your environment.

USAGE

a8flow log:follow
a8flow log:follow --help

OPTIONS

-CommandDescriptionRequired
App ID-aApp ID to get the follow up logs.
Org Name-oOrg name to get its environment.
App Type-tApp type to get its logs: Assisted / Solo
Help-h
--help
Show CLI help.
Example

a8flow log:follow -a <appId> -o <orgName> -t <appType>

CLI-Log

CLI-Log

View

Shows the history of logs.

USAGE

a8flow log:view
a8flow log:view --help

OPTIONS

-CommandDescriptionRequired
App ID-aApp ID to get the history of logs.
Start Time-sStart time to get logs.
[Note: Shows logs for 1 hour from the Start Time.]
End Time-eEnd time to get logs.
[Note: Value must be within a 1-hour range from the Start Time.]
Limit-lNumber of logs to display.
Search-qSearch query to search logs.
Help-h
--help
Show CLI help.
Example

a8flow log:view -a <appId> -s <startTime in utc format> -e <endTime in utc format> -l <limit> -q <searchValue>

CLI-Log

CLI-Log


Process

USAGE

a8flow process
a8flow process --help

CLI-Log

Definition

USAGE

a8flow process:definition
a8flow process:definition --help

Get

USAGE

a8flow process:definition:get
a8flow process:definition:get --help

OPTIONS

-CommandDescriptionRequired
Key-kGet the process definitions by key.-
Latest-lGet the latest process definitions.-
Help-h
--help
Show CLI help.
Example

a8flow process:definition:get -k <procdefKey>

CLI-Log

List

USAGE

a8flow process:definition:list
a8flow process:definition:list --help

OPTIONS

-CommandDescriptionRequired
Key-kGet the process definitions by key.-
Latest-lGet the latest process definitions.-
Help-h
--help
Show CLI help.
Example

a8flow process:definition:list -k <processDefintionKey>

CLI-Log

Instance

USAGE

a8flow process:instance
a8flow process:instance --help

Count

Count of process instances.

USAGE

a8flow process:instance:count
a8flow process:instance:count --help

OPTIONS

-CommandDescriptionRequired
Definition ID-dCount of instances by definition ID.
Help-h
--help
Show CLI help.

CLI-Log

Migration

USAGE

a8flow process:migration
a8flow process:migration --help

Create

Create a migration plan for two process definitions. The plan includes migration instructions mapping equivalent activities between the two process definitions.

USAGE

a8flow process:migration:create
a8flow process:migration:create --help

OPTIONS

-CommandDescriptionRequired
Target Process Definition ID-dThe ID of the target process definition for migration.
Source Process Definition ID-sThe ID of the source process definition for migration.
Help-h
--help
Show CLI help.
Example

a8flow process:migration:create -s <sourceProcessDefinitionId> -d <targetProcessDefinitionId>

Execute

Execute a migration plan for multiple process instances.

USAGE

a8flow process:migration:execute
a8flow process:migration:execute --help

OPTIONS

-CommandDescriptionRequired
Help-h
--help
Show CLI help.

CLI-Log

Generate

Generate a migration plan for two process definitions. The plan includes instructions mapping equivalent activities between the two processes.

USAGE

a8flow process:migration:generate
a8flow process:migration:generate --help

OPTIONS

-CommandDescriptionRequired
Target Process Definition ID-dThe ID of the target process definition for migration.
Source Process Definition ID-sThe ID of the source process definition for migration.
Update Event Triggers-uConfiguration flag to update the defined event triggers during migration.
Help-h
--help
Show CLI help.
Example

a8flow process:migration:generate -s <sourceProcessDefinitionId> -d <targetProcessDefinitionId>

CLI-Log

Validate

Validate a migration plan statically without execution.

USAGE

a8flow process:migration:validate
a8flow process:migration:validate --help

OPTIONS

-CommandDescriptionRequired
Help-h
--help
Show CLI help.

CLI-Log

Task

USAGE

a8flow process:task
a8flow process:task --help

Get

Get tasks associated with the specific process definition ID.

USAGE

a8flow process:task:get
a8flow process:task:get --help

OPTIONS

-CommandDescriptionRequired
Process Definition ID-pID of the process definition.
Help-h
--help
Show CLI help.
Example

a8flow process:task:get -p <processDefinitionId>

Start

Start the process with pre-filled data.

USAGE

a8flow process:start
a8flow process:start --help

OPTIONS

-CommandDescriptionRequired
Process Definition ID-pID of the process definition.
Task ID-tID of the task.
Process Variables File Path-vPath to the JSON file containing process variables.
Help-h
--help
Show CLI help.
Example

a8flow process:start -p <processDefinitionId> -t <taskId> -v <processVariablesFilePath>


Users

USAGE

a8flow users
a8flow users --help

CLI-Log

Bulk Add

Bulk adds users to the host from Excel data.

USAGE

a8flow users:bulkAdd
a8flow users:bulkAdd --help

OPTIONS

-CommandDescriptionRequired
File Path-fFile path of the .csv file.
Help-h
--help
Show CLI help.
Example

a8flow users:bulkAdd -f <*.csv file path>