In this demo we're going to create our first rules in Turnkey. Rules are created against Datasets and reports data that does not meet the requirements of the rules.
Creating Helmets without size set
- Open a workspace
- Create Products with category if you have not done so already
- Open the Rules tab
- Press Create Rule button in the top right corner
- Set the name of the rule to Helmets without size set
- Select the dataset Products with category
- Press Preview Dataset
- Press the + button and select Add Condition
- Change Product ID to Category
- Change Is blank to Equals
- Change <enter a value> to Helmets
- Press the + button and select Add Condition
- Change Product ID to Size
- Press Preview rule
- Switch to the Properties tab
- In the Description box write Helmets without size set
- In the Action box write Open product table and adjust Helmet size
- Set Query owner as the user that should resolve issues when data does not meet the rules requirements
- Hover over the Save button in top right corner and select Save and Publish
Creating Monitor sales with discounts 30% or larger
- Open a workspace
- Create Sales Order Details if you have not done so already
- Open the Rules tab
- Press Create Rule button in the top right corner
- Set the name of the rule to Monitor sales with discounts 30% or larger
- Select the dataset Sales Order Details
- Press Preview Dataset
- Press the + button and select Add Condition
- Changes Sales Order ID to Unit Price Discount
- Change Is Blank to Is greater than or equal to
- Change <enter a value> to 0.3
- Press Preview Rule
- Switch to the Properties tab
- In the Description box write Monitor sales with discounts 30% or larger
- In the Action box write Verify the order before processing
- Set Query owner as the user that should resolve issues when data does not meet the rules requirements
- Hover over the Save button in top right corner and select Save and Publish