The process for developing a workflow involves a series of phases. You can follow a different sequence of phases or skip a phase, depending on the type of workflow that you are developing. For example, you can create a workflow without custom scripting.

Generally, you develop a workflow through the following phases:
  1. Create a workflow or create a duplicate of an existing workflow from the standard library.
  2. Provide general information about the workflow.
  3. Define the input parameters of the workflow.
  4. Lay out and link the workflow schema to define the logical flow of the workflow.
  5. Bind the input and output parameters of each schema element to workflow attributes.
  6. Write the necessary scripts for scriptable task elements or custom decision elements.
  7. Create the workflow presentation to define the layout of the input parameters dialog box that the users see when they run the workflow.
  8. Validate the workflow.
If you are developing custom workflows, you can use the following workflow template:
{
  "id":"set_workflow_id",
  "name": "Set the workflow name",
  "description":"Provide a description for the workflow",
  "version":"1.0",
  "startStep":"item0", // Starting step for a workflow
  "variables": [
    {"name":"vnfId", "type": "string"}
  ],
  "input": [
    {"name": "INPUT_PARAM1", "description": "Description for the input param", "type": "string"},
    {"name": "INPUT_PARAM2", "description": "Description for the input param", "type": "string"}
  ],
  "output": [
    {"name":"output", "description": "Output Result", "type": "string"}
  ],
  "steps":[
    {
       
    }
  ]
}
When creating a workflow, you must provide the following details:
  • General Information
  • Define Workflows and Variables.

General Information

In the workflow template, provide the following information:
  • id - Provide a workflow ID.
  • Provide a name and description for the workflow.
  • Set the version of the workflow.
  • Define the workflow variables and parameters.

Define Workflows and Variables

After providing the general information, you must provide the global variables, input parameters, and output parameters of the workflow. For more information, see Defining Workflow Variables and Parameters.