Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Table of Contents

...

...

(2) use PLFM/trunk/tools/tcgaWorkflow/pom.xml as the example for your pom.  You'll want to copy the <dependencies>, <properties>, and <build> sections.  There's a lot of java magic wrapped up in that pom.

(3) if package for the workflow code is not already listed in PLFM/trunk/lib/lib-workflow/src/main/sanity check your new package, every SageBio workflow has the  Hello World workflow embedded in it.  Make sure you can run it from your new package:

(4) if the Java package for the workflow code is not already listed in PLFM/trunk/lib/lib-workflow/src/main/resources/META-INF/aop.xml add it there

(45) write your code, at a minimum you will likely want code similar to the following  TODO ADD LINKS AFTER THE MERGE TO TRUNK

(56) run a local instance of Synapse 
Include Page
How to populate a local Synapse Stack with data
How to populate a local Synapse Stack with data
(67) run your activity runner, workflow runner, and workflow initiator in a manner similar to what you see above for the HelloWorld workflow

...

This can happen when the activity or workflow code throws a runtime exception such as a NullPointerException.  Unfortunately the unit testing framework provided by SWF does not log them.

"java.lang.IllegalStateException",{"cause":null,"message":"not ready","localizedMessage":"not ready"

Promise Variables were used Incorrectly

...