workflows

The cfy workflows command is used to view information about the different workflows of a deployment.

You can use the command to list the workflows of a specific deployment and to retrieve information about a single workflow.

Optional flags

These will work on each command:

Commands

list

Usage

cfy workflows list [OPTIONS] DEPLOYMENT_ID

Lists all workflows on the Cloudify Manager for a specific deployment.

DEPLOYMENT_ID The ID of the deployment for which you want to list the workflows.

Required flags

Optional flags

 

Example

$ cfy workflows list -d cloudify-nodecellar-example
...

Listing workflows for deployment cloudify-nodecellar-example...

Workflows:
+-----------------------------+-----------------------------+--------------------+------------+
|         blueprint_id        |        deployment_id        |        name        | created_at |
+-----------------------------+-----------------------------+--------------------+------------+
| cloudify-nodecellar-example | cloudify-nodecellar-example | execute_operation  |            |
| cloudify-nodecellar-example | cloudify-nodecellar-example |        heal        |            |
| cloudify-nodecellar-example | cloudify-nodecellar-example |      install       |            |
| cloudify-nodecellar-example | cloudify-nodecellar-example | install_new_agents |            |
| cloudify-nodecellar-example | cloudify-nodecellar-example |       scale        |            |
| cloudify-nodecellar-example | cloudify-nodecellar-example |     uninstall      |            |
| cloudify-nodecellar-example | cloudify-nodecellar-example |       update       |            |
+-----------------------------+-----------------------------+--------------------+------------+

...

get

Usage

cfy workflows get [OPTIONS] WORKFLOW_ID

Retrieves information for a specific workflow of a specific deployment.

WORKFLOW_ID The ID of the workflow for which you want to get information.

Required flags

Optional flags

 

Example

$ cfy workflows get execute_operation -d cloudify-nodecellar-example
...

Retrieving workflow execute_operation for deployment cloudify-nodecellar-example

Workflows:
+-----------------------------+-----------------------------+-------------------+------------+
|         blueprint_id        |        deployment_id        |        name       | created_at |
+-----------------------------+-----------------------------+-------------------+------------+
| cloudify-nodecellar-example | cloudify-nodecellar-example | execute_operation |            |
+-----------------------------+-----------------------------+-------------------+------------+

Workflow Parameters:
	Mandatory Parameters:
		operation
	Optional Parameters:
		operation_kwargs: 	{}
		node_ids: 	[]
		node_instance_ids: 	[]
		run_by_dependency_order: 	False
		allow_kwargs_override: 	None
		type_names: 	[]

...