-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Rodrigo Peplau edited this page Aug 13, 2015
·
2 revisions
With Sitecore Rule Processor you can test and execute Sitecore Rules, without having to go thru their pipelines.
Sitecore Rules are nativaly triggered only when certain events happens. With this module you'll be able to test rules (list the items that matches) and process them (executing the rule actions against matching items).
Example of usage:
- Create a new Rule
- Setup the conditions and some of the useful actions that comes with the module (more to come!)
- When a Rule item is selected you now have the Rule Processor button. When this button is clicked the Rule Processor window opens:
- Set the Root Item and click on Bring results to list the items that matches your Rule
- You can execute the Rule's Actions against all matching items, or only with those you selected:
In this example the action was to write on Sitecore Log, and the results are:
8556 17:17:30 INFO Item processed - ID: {B9EDB000-4C7C-4770-AD29-BEC226213AFC} - Name: Resolve Create Date Based Path
8556 17:17:30 INFO Item processed - ID: {F091DB35-8784-44D7-A7FA-0729984188DF} - Name: Resolve Item Name Based Path
8556 17:17:30 INFO Item processed - ID: {25F351A1-712D-45F8-857D-8AD95BB2ACE9} - Name: Hide Rendering
8556 17:17:30 INFO Item processed - ID: {525C7B5A-8FD2-4B99-89F6-4F3F6D23BB02} - Name: Set Parameters
8556 17:17:30 INFO Item processed - ID: {7B578B65-BD2F-4C7C-9A24-DAE3E98B4F23} - Name: Set Rendering