Rule Status
The two rule statuses
Published status
Examples:

Pending status
Example:

How to change the rule status


Last updated
Was this helpful?
Every Rule has two status options: Published and Pending. The status can be set on each version of the rule independently.
Initial Status:
Newly created rules: All rules are created in Published status by default
Imported rules: The status is determined by the value defined in the imported rule data
New versions: All newly created versions start in Pending status
Rule in Published status is ready for production and is available via Solver API.

Some rules or versions of rules are not yet ready for production. For example, because the rule is still in development. Such a rule has a Pending status and it cannot be accessed using Solver API. When trying to solve such a rule, Solver API returns the following HTTP request error:
For the purpose of testing your rules and their versions that are not yet in production, you can execute rules in Pending status by using the Debug in Test Bench feature to solve the rule directly within the platform.

The status can be changed in rule settings by clicking the Status toggle. The rule must be saved to apply the status change.


Last updated
Was this helpful?
Was this helpful?
400 Bad Request
{
"error": {
"message": "Rule state is not published"
}
}
