Skip to content

Workflow Application

Andre Merzky edited this page Oct 22, 2013 · 1 revision

Without "ports"

  • Task A:

    • exe = "/bin/echo"
    • args = [ "Console" ]
    • output: "Console"
  • Task B:

    • exe = "/bin/echo"
    • args = [ "Cowboy" ]
    • output: "Cowboy"
  • Relationships:

    • Task A -> Task C
    • Task B -> Task C
  • Task C:

    • exe = "/bin/echo"
    • args = [ $FIRSTNAME, $LASTNAME ]
    • output = ?????

Conclusion: Sorry, no cookie, you gotta be able to jam with the console cowboys in cyberspace!

With "ports"

  • Task A:

    • Output: port:StringA(type:String) = "Console"
  • Task B:

    • Output: port:StringB(type:String) = "Cowboy"
  • Task C:

    • Input: port:FirstName(type:String)
    • Input: port:LastName(type:String)
  • Relationships

    • Task A:StringA -> Task C:FirstName
    • Task B:StringB -> Task C:LastName
  • Task C:

    • exe = "/bin/echo"
    • args = [ "Hello, ", $FIRSTNAME, " ", $LASTNAME, "!" ]
    • output = "Hello, Console Cowboy!"

Conclusion: Awesome!! Come jam with the console cowboys in cyberspace!

Clone this wiki locally