How do I add a workflow?
Workflow creation options
You have several options for adding workflows to NSP.
-
Create a workflow. This procedure provides general steps. See the Network Automation tutorial on the Network Developer Portal for detailed information.
-
Install a workflow using Artifacts; see How do I install an artifact bundle?.
Note: if an installed workflow appears with a red signature icon, there is a problem with the workflow. Try downloading and installing again. Contact Nokia if the problem persists.
-
Clone a workflow and edit the clone as needed.
Note: Here are some things to know when setting up workflows.
-
A workflow must pass validation before it can be saved in NSP. If you import a workflow that is not valid or clone a workflow and make changes that don’t pass validation, you must update it to fix the errors before you can add it to the workflow list.
-
Workflows are imported in the DRAFT state. The state must be changed to PUBLISHED before the workflow is available to all users.
Example workflow
Workflow examples are available in the creation form. You can choose the best example for your needs and use it as a guide, or delete it and insert your own YAML code.
The example workflows cleanup_WFM and createNspUser are available by default. Any workflow with the example tag will also be available in the creation form.