dataflo.ws icon indicating copy to clipboard operation
dataflo.ws copied to clipboard

Task Docs

Open behrad opened this issue 12 years ago • 1 comments

Can you comment on some basic tasks usage?

  1. What does the "every" task?
  2. What do "$origin", "$scope", ... mean?
  3. Do we have a "startup" initiator which starts its workflows at start !? (Can I use the timer task for this purpose!?)

I think documentation should be improved on built-in tasks :)

behrad avatar May 01 '13 10:05 behrad

  1. you can use every "meta"-task for running task or set of tasks against array of data
  2. $origin is used when you call a synchronous method in object. for example, you have global object GLOBAL.something with method called foo. so, you can write task like this:
{
"$origin": "{$global.something}",
"$function": "foo"
}
  1. yes, you can use timer initiator for this purpose. but nobody is used this initiator in more than a 4000 years, so be prepared.

apla avatar May 01 '13 12:05 apla