Skip to content

Instantly share code, notes, and snippets.

@yeshess
Created May 17, 2017 16:55
Show Gist options
  • Save yeshess/af4d998245a016138ec117aba7339276 to your computer and use it in GitHub Desktop.
Save yeshess/af4d998245a016138ec117aba7339276 to your computer and use it in GitHub Desktop.
workflows:
my_workflow:
steps:
creating_my_node:
target: my_node
activities:
- set_state: creating
on_success: create_my_node
create_my_node:
target: my_node
activities:
- call_operation: tosca.interfaces.node.lifecycle.Standard.create
on_success: created_my_node
created_my_node:
target: my_node
activities:
- set_state: created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment