Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

  • workflow interface: 
  • activity interface:
  • workflow implementation:
  • activity implementation:
  • workflow runner (runs the decider):
  • activity runner (runs the activities):
  • workflow initiator (kicks off workflows):
  • workflow configuration utility:
  • workflow configuration properties:
  • workflow configuration properties template:
  • workflow test (important this will help you ensure that your Promise variables are configured correctly):

...

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

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

This happens when you try to access a Promise variable in a context that does not ensure that the value must be "ready".  Here is an anti-example:

...