174k views
5 votes
You want to run a Constraint rule only when an action is performed by a user. Which two options are true?

A. You can implement the requirement by using a timer.
B. You can implement the requirement by invoking the Constraint rule from the action.
C. Constraint rules are Ajax-based and there is no option to disable Ajax in Commerce rules.
D. You can use Validation rules because it better serves the purpose.

1 Answer

5 votes

Final answer:

The two true statements are B. You can implement the requirement by invoking the Constraint rule from the action, and D. You can use Validation rules because it better serves the purpose.

Step-by-step explanation:

Based on the given options, the two true statements are B. You can implement the requirement by invoking the Constraint rule from the action, and D. You can use Validation rules because it better serves the purpose. In option A, using a timer would not directly allow you to run the Constraint rule only when an action is performed by a user. Option C is incorrect because constraint rules are not necessarily Ajax-based, and there may be options to disable Ajax in certain platforms.

Validation rules are commonly used in systems to ensure that certain conditions or requirements are met before allowing an action to be performed. This makes them a suitable choice for running a Constraint rule when an action is performed by a user.

User Eedoh
by
7.2k points