Collapse
Submit a Service Request
Contact Information for Technical Support
My Service Notifications
State Loop Error when compiling business rules
Answer ID 2129 |
Last Review Date 10/31/2018
When I try to compile my business rules, I get an error indicating that there is a State Loop Error.
Environment:
Business Rules
Oracle B2C Service, All versions
Resolution:
When compiling or activating a ruleset, you will get a State Loop Error message if you have two states and there is a rule in each state that transitions to the other state and continues processing.
For example, if you have states A and B. If you have a rule in state A that includes an action to "Transition to state B and continue" and there is a rule in state B has an action "Transition to state A and Continue"', the application will see this as a loop, regardless of the specific IF criteria listed in the rules.
To avoid a state loop error, use the action "Transition State and Stop" in at least one of the rules used to transition between the A and B states.