mdsp oe-deploy-workflow Command¶
Syntax:
mdsp oe-deploy-workflow
Help:
mdsp oe-deploy-workflow --help
Alternative form:
mc oe-deploy-workflow
(The CLI was using mc
as default command name in older versions)
Description¶
list, create/instantiate, update or delete/cancel workflow deployment model or instance(s) (open edge) *
Usage¶
Parameter list:
Usage: mdsp oe-deploy-workflow|oedw [options]
list, create/instantiate, update or delete/cancel workflow deployment model or instance(s) (open edge) *
Options:
-m, --mode [list|create|instantiate|update|cancel|delete|template|info] list | create | instantiate | update | cancel | delete | template |
info (default: "list")
-k, --key the workflow model key
-i, --id the deployment model instance id
-f, --file .mdsp.json file
-md, --model include the model
-u, --history include the transition history
-c, --currentstate current state value to filter
-g, --group group value to filter
-d, --deviceid deviceid to filter
-o, --overwrite overwrite template file if it already exists
-k, --passkey passkey
-y, --retry retry attempts before giving up (default: "3")
-v, --verbose verbose output
-h, --help display help for command
Examples¶
Here are some examples of how to use the mdsp oe-deploy-workflow
command:
Examples:
mdsp oe-deploy-workflow --mode list list all workflow instances descriptions belonging to the caller's tenant.
mdsp oe-deploy-workflow --mode template create a template files to define the workflow state machine model.
mdsp oe-deploy-workflow --mode create --file edge.app.model.mdsp.json
creates a new workflow model from template file.
mdsp oe-deploy-workflow --mode instantiate --file edge.app.instance.mdsp.json
creates a new workflow instance from template file.
mdsp oe-deploy-workflow --mode update --id "7d018c..." --file edge.app.status.mdsp.json
update a workflow instance.
mdsp oe-deploy-workflow --mode info --id get details of a deployment workflow instance.
mdsp oe-deploy-workflow --mode info --key get details of a deployment workflow model.
mdsp oe-deploy-workflow --mode cancel --id cancel a deployment workflow.
mdsp oe-deploy-workflow --mode delete --key delete a deployment workflow model.
See Insights Hub API documentation for more information about Insights Hub APIs.