Write a DPDP rule
Add a duty the product does not check yet, so it appears on every DPDP Act check it applies to and can hold back publishing a form.
When the law adds a duty the product does not check yet, write it as a rule in the Platform area. It appears on the DPDP Act check of every project it is for. One person writes it and a second approves it, like any change.
Before you start#
- You hold
Consent.PlatformServices.draftLawAmendment. The person who approves needsapproveLawAmendmentand cannot be you. - The provisions the rule rests on are recorded with their words. If one is missing, record a Gazette notification and its provision first.
Write the rule#
- On Rules, choose Write a new rule.
- Under The duty, give the rule a short name and say what each project has to do. Choose its section of the check and whether a project Must fix it or Should fix it.
- Under Sources, tick the provisions it rests on. To start it later than approval, enter the day under Starts to apply on.
- Under Who it is for, choose every project or one group. To narrow it, add conditions on what the product knows about each project.
- Under When it is met, choose The product checks it and add the conditions that mean a project meets it. For a duty the product cannot see, choose Each project confirms it.
- Under Reason, cite the notification and paragraph.
- Read Review, then choose Send for approval.
How conditions work#
A condition tests one fact the product knows: a setting, the form serving India, its purposes, the last scan, the registers or the processors. A number can be compared with a time limit or threshold of the rule set, such as the response period. It then follows every change to that value.
Several conditions hold when all of them are true, or when any one is. A fact the product does not know yet, such as a site never scanned, shows the check as Not checked yet. The facts are listed in the DPDP rule set.
Hold back a form#
Under When it is met, choose Shown on the check, and stops a form being published until met. Publishing a form is then refused with LAW_RULE_NOT_MET while the project does not meet the rule. The refusal names the rule and each condition not met. It applies from the rule's start day.
Correct or retire a rule#
To correct it, open the rule and choose Correct. Only what you change is sent for approval. To retire it, open the change that created it on Changes and choose Undo this change. A second person approves either one. Each project's law updates notice and its ruleset.changed webhook name the rule.
Related#
- Change a DPDP rule, for a new date, period, list or wording
- Record a Gazette notification
- Run the DPDP check, as a project sees it