Choose a trigger for an automation
AI summary
Automations in Rencore Governance start with a trigger that controls when and how often they run. You can choose between Manual triggers for on-demand runs, Scheduled triggers for periodic execution, or Policy Violation triggers that run automatically when policies are violated. Each trigger type works differently and suits different automation needs.
Every automation starts with a trigger: manually, on a schedule or on a policy violation. Choose the trigger when you build the automation, based on how often and on which objects it should run.
Before you begin
- Your Rencore role includes the Create AutomationAutomationAn automation is a workflow Rencore Governance runs on inventory objects when a trigger fires.Read more or Edit Automation permission. Owner, Admin and Contributor have it. See Rencore roles.
Steps
- Open the automation in the Automation Builder. See Create a custom automation.
- Click the trigger in the flow.
- Choose Manually, On Schedule or On policy violation in the dialog.
- Fill in the settings of the trigger, as described below.
- Click Save.
Manually
This trigger lets you run the automation by hand. Select the Service and the Object the automation runsAutomation batchAn automation batch is the group of automation runs that started from the same trigger at the same time.Read more for.
A manually triggered automation can be used again and again, with no limit on the number of runs. It must be triggered on the same entity that is set in the automation.
Use this option to test the automation actionsAutomation actionAn automation action is a single operation an automation step performs, such as sending an email or archiving a Team.Read more or to run the automation only once. It runs only for the object you trigger it from, which gives you more control for testing.
On schedule
This trigger runs the automation periodically.
- Choose whether it runs on a “Policy Violation” or an “Inventory Item”.
- For “Policy Violation”, select the policyPolicyA policy is a governance rule that Rencore Governance checks against your inventory, for example Teams without owners.Read more. For “Inventory Item”, choose the Service and the object Entity.
- Select the period: Day, Week, Month or Year.
- Day: run every day, or every given number of days from 1 to 99.
- Week: choose the day or days to run, every week or every 1 to 4 weeks.
- Month: choose a date in the month, or the First, Second or Third day of the month, and how often by selecting 1 to 12 months.
- Year: choose a date, or the First, Second, Third or Fourth day of a given month, and how often by selecting 1 to 10 years.
With “On Schedule”, the automation acts on the object every time it runs, as long as the violation exists. Any change you make to the actions applies to all violations in the policy. Use this option if you want to keep acting on an object until it is no longer a violation.
On policy violation
This trigger runs the automation on every violationViolationA violation is an inventory object that matches the rule of an active policy, such as a Team with no owner.Read more of a given Policy. Select the policy. The automation is triggered after scans and scan batches that update the policy. It runs at most once a day for the same object.
With “On Policy Violation”, the automation acts on the object every time, as long as the violation exists. Any change you make to the actions applies to all violations in the policy. Use this option if you want to keep acting on an object until it is no longer a violation.
Limits
- Policy violation automations depend on scans. A violation only changes when its object is scanned again. If the object is scanned monthly, the list of violations the automation acts on is also updated monthly.
- An object whose earlier run is still waiting for approval or has not finished is skipped.
Frequently asked questions
Which triggers can I choose for an automation?
You can choose Manually, On Schedule or On policy violation. Pick the trigger when you build the automation, based on how often and on which objects it should run.
Which permission do I need to choose a trigger?
Your Rencore role needs the Create Automation or Edit Automation permission. Owner, Admin and Contributor have it.
How often can a scheduled automation run?
You can set the period to Day, Week, Month or Year. Day runs every 1 to 99 days, Week every 1 to 4 weeks, Month every 1 to 12 months, and Year every 1 to 10 years.
How often does an automation run when it uses the on policy violation trigger?
The automation runs after scans and scan batches that update the policy. It runs at most once a day for the same object.
Why was an object skipped by a policy violation automation?
An object is skipped when its earlier run is still waiting for approval or has not finished. Also, a violation only changes when its object is scanned again, so the list of violations depends on scan frequency.
Was this page helpful?
Thanks for the feedback.
Thanks. What was wrong?