Open cjonagam opened 10 years ago
I'm not following you, sorry. When you add it to...? Mind to elaborate a little bit more and provide details about the failure?
kusor, thanks for responding. i have updated the issue with more details
Is this still an issue? @cjonagam update if you still have problems with this and I'll try to help you.
This issue is still open. I could not find any solutions.
Let me try to understand your problem, you want to run the workflow from the API or from the runner? I understand that you want the API mode but just checking.
i would like to make it work on runner. Error is with both api and runner
Well, in order to make it work with the runner you need to type this in a terminal:
**./node_modules/.bin/workflow-runner config.json 2>&1 | ./node_modules/.bin/bunyan**
then you have to run your .js file, in the case of the example should be the module.js
file.
**node module.js githubUser githubPass**
of course before everything you need to have your redis-server
running (if you are doing it with redis).
try doing this with this files (module.js and shared-workflow.js) and give me the feedback in order to help you.
https://github.com/kusor/node-workflow-example/
if you want me to help you more easily give me your skype or gmail user and I'll do my best to help you.
I have modified sw.js file like this
I have edited the api.js provided in your sample project to include sw.js workflow and executed following command
Then i'm getting following error after the workflow execution is complete.