Count Rules |
Content |
||||||||
|
About Predefined Count Rules |
|
|
You can create predefined Count Rules through Lab Admin à Process à Count Rule. This provides an interface to define Range Rules or create your own using Groovy. Create other types of Count Rules in the Sampling Plan.
Click "Configure" to define the Count Rule:
Choose how you want to create the Count Rule:
Option | Description | Example |
Number | Numeric value. | 2 |
Groovy | Groovy expression using columns from Batch, Product, Address, and LV_ProdVariant SDCs. |
(Batch.size>50)?10:2
Note:Batch size does |
Range | Expression indicating a range of values.
Ranges can be reused multiple times, e.g., Standard AQL limits. |
Number of Samples is 15 if Batch size = 30, Number of Samples is 45 if otherwise 5. |
One rule set is provided, with one "Otherwise" clause to deal with the case when all rules return "false":