Skip to content
This repository was archived by the owner on Dec 10, 2023. It is now read-only.

Files

Latest commit

 

History

History
49 lines (34 loc) · 1.15 KB

README_workflows.md

File metadata and controls

49 lines (34 loc) · 1.15 KB

Workflows

Documentations for default workflows. a workflow is the combination of differents actions.

Table of contents

basic/helloworld.yml

This workflow shows how to write a simple workflow with one action. A workflow is made up of two parts:

  • property parameters
  • actions list to execute

Property parameters override the parameters on each actions if the name is the same. Conditions between actions can be defined too.

  1. In the actions part, add the description of your action
actions:
- description: HelloWorld
  1. Add the path of the action
  file: Common:actions/basic/helloworld.yml
  1. Overwrite parameters (optional)
  parameters:
   - name: msg
     value: Hola Mundo

basic/wait.yml

This workflow shows how to call the wait.yml action by overriding the duration parameter.

generator/random.yml

This workflow shows how to call two actions one after the other