Workflow with multiple steps.
{ "id":"multi-step-workflow", "name": "Workflow with Multiple Steps", "description":"Sample Workflow with Multiple Steps", "version":"1.0", "startStep":"step1", "variables": [ {"name":"vnfId", "type": "string"} ], "input": [ {"name": "STEP1_USER", "description": "Step 1 Username", "type": "string"}, {"name": "STEP1_PWD", "description": "Step 1 Password", "type": "password"}, {"name": "STEP1_HOSTNAME", "description": "Step 1 Hostname", "type": "string"}, {"name": "STEP1_CMD", "description": "Step 1 Command", "type": "string"}, {"name": "STEP2_STR_INPUT", "description": "Step 2 String Input for Workflow", "type": "string"}, {"name": "STEP2_NUM_INPUT", "description": "Step 2 Number Input for Workflow", "type": "number"}, {"name": "STEP2_BOOL_INPUT", "description": "Step 2 Boolean Input for Workflow", "type": "boolean"}, {"name": "STEP2_PWD_INPUT", "description": "Step 2 Password (SecureString) Input for Workflow", "type": "password"} ], "output": [ {"name":"STEP1_OUTPUT", "description": "Step 1 Output", "type": "string"}, {"name":"STEP2_OUTPUT", "description": "Step 2 Output", "type": "string"} ], "steps":[ { "stepId":"step1", "workflow":"RUN_SSH_COMMAND_IN_GUEST", "namespace": "nfv", "type":"task", "description": "Step 1 - SSH Workflow", "inBinding":[ { "name": "initialDelay", "type": "number", "default": "60" }, {"name": "username", "type": "string", "exportName": "STEP1_USER"}, {"name": "password", "type": "password", "exportName": "STEP1_PWD"}, {"name": "port", "type": "number", "default": "22"}, {"name": "cmd", "type": "string", "exportName": "STEP1_CMD"}, {"name": "encoding", "type": "string", "default": " "}, {"name": "hostNameOrIP", "type": "string", "exportName": "STEP1_HOSTNAME"}, {"name": "passwordAuthentication", "type": "boolean", "default": "true"} ], "outBinding": [ {"name": "result", "type": "string", "exportName": "STEP1_OUTPUT"} ], "nextStep":"step2" }, { "stepId":"step2", "workflow":"VRO_CUSTOM_WORKFLOW", "namespace": "nfv", "type":"task", "description": "Step 2 - Custom Workflow", "inBinding":[ {"name": "vroWorkflowName", "type": "string", "default": "Custom-vRO-Workflow-Name"}, {"name": "strInput", "type": "string", "exportName": "STEP2_STR_INPUT"}, {"name": "numInput", "type": "number", "exportName": "STEP2_NUM_INPUT"}, {"name": "boolInput", "type": "boolean", "exportName": "STEP2_BOOL_INPUT"}, {"name": "pwdInput", "type": "password", "exportName": "STEP2_PWD_INPUT"} ], "outBinding": [ {"name": "result", "type": "string", "exportName": "STEP2_OUTPUT"} ], "nextStep":"END" } ] }