TritonDataCenter / node-workflow

Task orchestration, creation and running using NodeJS
MIT License
456 stars 66 forks source link

Node workflow via API doesn't work #125

Closed gepser closed 9 years ago

gepser commented 9 years ago

Hi, I'm trying to use the node workflow from the API and I get the error "ConflictError: Task body is required" every time.

I have this running:

./node_modules/.bin/workflow-api config.json

and also this (the same when I was working from the node app instead of the API)

./node_modules/.bin/workflow-runner config.json 2>&1 | ./node_modules/.bin/bunyan

and then I run the example (https://github.com/kusor/node-workflow-example):

node api.js user password

screen shot 2014-11-10 at 4 46 44 pm

My config.json file looks like this:

screen shot 2014-11-10 at 4 48 22 pm

Am I doing something wrong?

gepser commented 9 years ago

Solved