You can define algorithms that execute before a business entity enters a given state. For example, you could develop an algorithm that requires a cancellation reason before an entity is allowed to enter the Canceled state.
You can also incorporate state auto-transitioning logic within this type of algorithms. Refer to auto-transition for more information.
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.