Ask Your Question
1

Mistral reverse workflows

asked 2016-04-17 07:04:40 -0600

sonal.ojha gravatar image

I am trying mistral reverse workflows on liberty version but it shows error like task_name not found. What am I missing ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-07-17 07:23:43 -0600

michal-gershenzon gravatar image

It looks like you did not pass 'task_name' to the execution command (you didn't add the workflow you tried and you execution command).

I am adding an example of how to use such workflow via cli.

Example:

workflow:

---
version: '2.0'

my_reverse_wf:
  type: reverse

  tasks:
    first:
      action: std.noop
    second:
      action: std.noop
      requires: [first]

inputs.json:

{}

params.json:

{"task_name": "second"}

execution command:

mistral execution-create my_reverse_wf inputs.json params.json
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-04-17 07:04:40 -0600

Seen: 90 times

Last updated: Jul 17 '16