Skip to content

Instantly share code, notes, and snippets.

@kailashbadu
Created August 11, 2015 10:57
Show Gist options
  • Save kailashbadu/b6bbc4e286ca9e147f73 to your computer and use it in GitHub Desktop.
Save kailashbadu/b6bbc4e286ca9e147f73 to your computer and use it in GitHub Desktop.
Components
function router(unit){
//this function should return the id of the station to which the unit is routed
return 12341415
}
function subunit_creator(){
//this function should return an array of objects.
//The workflow creates a Task for each object in the subsequent station
return [{"url" : "image1.png"},{"url" : "image2.png"}];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment