Work with Transitions in Customized Workflows

Java class-based transitions perform much better than Java code added directly to transitions.

You can experiment with inline transitions using Bsh, but you should create and compile a Java class after you have finalized the transition code.

Do not perform any database update in the transitions. Transitions do not support failover and restart. Any updates performed on the transition are not confirmed until the next activity is complete.