-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flow Reuse !? #20
Comments
You can use file includes via the
|
with "workflows": [{
"path": "read.json",
"tasks": "<flows/main>"
}] I got Error: { [Error: ENOENT, open '/data/workspace/opxi2flowy/etc/flows/main'] it seems it uses |
Here's an example: https://github.com/apla/dataflo.ws/blob/master/example/yql/etc/project#L27 |
@katspaugh That works as an include mechanism only! I got it now! but I wish I could mix included tasks with inline ones. This means to be able to write extended flows with reusable, mini tasks. {
"path":"test",
"tasks": [{
"include": "<entity/read>",
},{
"$function": "console.print",
"$args": [ "Fetched Entity", "{$entity}" ]
},{
"include": "<entity/play>"
}]
} |
How can I define & reuse a workflow, in etc/project?
The text was updated successfully, but these errors were encountered: