Created
August 11, 2015 10:57
-
-
Save kailashbadu/b6bbc4e286ca9e147f73 to your computer and use it in GitHub Desktop.
Components
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function router(unit){ | |
//this function should return the id of the station to which the unit is routed | |
return 12341415 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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