Versions Compared

Key

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

...

Inside a step you can call any Java methods on any objects. However to move from step to step in a declarative fashion you can call the goTosetNextStep() method.
Another option is to use a method which returns a String or enum value; a non-null String value is then interpreted as being the next step that is navigated to next.

...

Once that happens you re-awaken the workflow and commence execution at some step. To implement this just call the goTosetNextStep() method to cause the workflow to resume at the given step

...

You can also explicitly call suspend() or stop() yourself.

The goTosetNextStep(stepNamestep) will instruct the workflow engine to move to the given step.

...