You are here:
StateRuleService Methods
These are the available StateRuleService methods.
- StateRuleService:getRuleLogs
Use this service to retrieve rule logs for a target object, sorted by execution date in ascending order. - StateRuleService:getTransitionStates
Use this service to get default transition states, the To state of each from state transition, the current state, and the last default state for the target object. - StateRuleService:invokeRules
Use this service to invoke state transition rules associated with a target state transition on a target object. If the rules satisfy the transition criteria, this service executes actions associated with the transition, optionally logs the results of the rule executions, and transitions the target object to the new state.

