---
title: "Assignment rules: which template for which contract"
description: "Decide, by sub-company, position and contract type, which template Illizeo applies when a journey opens automatically, and check the result with the simulator."
url: "https://illizeo.com/en/centre-aide/journeys-assignment-rules/"
updated: "2026-11-25"
category: "Core HR services / Onboarding & Offboarding"
---

# Assignment rules: which template for which contract

When Illizeo opens a journey without you choosing the template, for example when a contract is added or employment ends, it applies the template named by your **assignment rules**, otherwise the template marked as default for the journey type. This article explains how to write these rules, in what order Illizeo resolves them, when they apply and how to check the result before a contract starts. It is intended for administrators who set up journeys.

## Before you start

- The **Onboarding / Offboarding** module must be active in the application store.
- Opening the page and testing a combination requires “Settings — Access” and “Onboarding — Templates list” (**Access** level). Creating, editing or deleting a rule requires “Onboarding — Edit / delete template” at the **Execute** level.
- These two onboarding permissions cover the rules of all four types, crossboarding, reboarding and offboarding included: permissions on crossboarding, reboarding or offboarding templates are not enough. By default, only the Administrator holds them; the HR Manager has no access to this page.
- You need at least one journey template (see [Creating and editing journey templates](https://illizeo.com/en/centre-aide/journeys-templates/)).

## The Assignment Rules page

Open **Settings › On-Off/Boarding › Assignment Rules**. The **Journey assignment rules** page lists your rules in a table:

- **Journey**: the type, Onboarding, Crossboarding, Reboarding or Offboarding;
- **Criteria**: Sub-company, Position and Contract (the contract type, by its label); “All” when the criterion is not set;
- **Template applied**: the template name, struck through with “Template archived — rule ignored” if that template has been archived;
- **Priority**: the number, followed by the number of criteria set;
- **Active**: Yes or No;
- the **Edit** and **Delete** buttons, if you have the Execute level.

Rules are listed in the order Illizeo resolves them: the first one that matches a contract wins. An inactive rule keeps its place. With no rule at all, the page shows “No rule yet” and recalls that each type’s default template applies.

![Journey assignment rules page with onboarding, crossboarding, reboarding and offboarding rules, their criteria, template applied, priority and active state](https://i0.wp.com/illizeo.com/wp-content/uploads/2026/11/parcours-regles-d-affectation-01.en_.png?resize=800%2C533&quality=80&ssl=1)
Rules are listed in the order Illizeo resolves them

## Creating or editing a rule

1. Click **New rule**, or **Edit** at the end of a row. The **New rule** (or **Edit rule**) window opens.
2. **Journey type**: Onboarding (preselected), Offboarding, Crossboarding or Reboarding.
3. **Template applied**: choose the template. The list shows the templates of the chosen type first, then the others followed by their type (for example “— Crossboarding”); “(default)” marks the default templates. A rule can point to a template of another type: the journey keeps its type and takes that template’s steps.
4. **Criteria**: set **Sub-Company / Division**, **Position** and **Contract type**. A criterion left on “All” restricts nothing; a rule with no criteria is the general rule for its type.
5. **Priority**: a whole number from -1000 to 1000 (0 by default). Highest first.
6. The **Active** box is ticked by default; untick it to keep a rule without it applying.
7. Click **Create** (or **Update**). The message “Rule created” (or “Rule updated”) confirms the save.

The **Contract type** list offers the types of the chosen sub-company’s country, otherwise those of your company’s country. A type already carried by contracts but foreign to that country appears followed by “(other country)”. If you change the sub-company after choosing a type, the type is kept and a warning recalls that the rule will only match contracts that carry it.

If the save is refused, for example because the priority is out of range, only the message “An error occurred.” appears: check the priority. A rule only affects journeys that open after it is saved.

![New rule window for crossboarding, with the template applied, a sub-company as criterion, position and contract type left on All, the priority and the Active box](https://i0.wp.com/illizeo.com/wp-content/uploads/2026/11/parcours-regles-d-affectation-02.en_.png?resize=524%2C767&quality=80&ssl=1)
Creating an assignment rule

## How Illizeo chooses the template

1. It keeps the active rules for the journey type to be opened whose every criterion set matches the contract. A rule whose template is archived is ignored.
2. The rule with the highest priority wins; on a tie, the one with the most criteria; on a further tie, the most recently created.
3. If no rule matches, Illizeo takes the template marked as default for that type (the star in **Journey Templates**).
4. With no rule and no default template, no journey opens, and nothing says so. Illizeo never falls back on a template of another type.

Example: an Onboarding rule with no criteria, priority 0, pointing to “Full-time employees”, and an Onboarding rule whose contract type is an internship, priority 50, pointing to “Interns”. For an internship contract both match and the second wins. At equal priority it would still win, because it sets one more criterion. For a permanent contract, only the first matches.

A criterion that is set requires the contract to carry that value: a contract without a position can only match a rule whose Position is “All”.

## When the rules apply

| How the journey opens | Assignment rules |
| --- | --- |
| Contract added from the profile (onboarding, crossboarding or reboarding) | Yes |
| Contract ended or end of employment | Yes, if automatic offboarding is on |
| Careers move to another company | Only if Careers does not find its own template |
| Careers move within the same company | No: template set in Careers |
| Hiring wizard | No: template chosen at the Templates step |
| Manual start from the Onboarding or Offboarding tab | No: the template you choose |

Offboarding rules depend on the “Trigger offboarding automatically when end date is set” setting (see [Workflow global settings](https://illizeo.com/en/centre-aide/workflows-global-settings/)). If it is off, a banner at the top of the page says so: no offboarding journey then opens automatically, and an offboarding started manually from the Offboarding tab uses the template you choose. The end-of-employment window states, before you confirm, which offboarding template will start (see [Organising an offboarding](https://illizeo.com/en/centre-aide/journeys-offboarding/)).

## Testing a combination

1. Click **Test a combination**. The **Which template for this contract?** panel opens.
2. Choose the **Journey** (Crossboarding is preselected), then the **Sub-company**, **Position** and **Contract**.
3. Click **Test**. Nothing is saved.

The answer fits on one line:

- a rule wins: the answer gives its number (“Rule #” followed by a number), the template applied, its priority and its number of criteria;
- “No rule matches — default template “…” applies.”;
- “No journey will open: no applicable rule, and no default template for this type.”

In this panel, “All” describes a contract that has no value for that criterion: rules that require it cannot win. This is exactly the situation of an empty contract. If an error occurs, the answer disappears without a message. **Close** folds the panel away.

![Which template for this contract? panel with the Journey, Sub-company, Position and Contract fields, and the winning rule with its template, priority and number of criteria](https://i0.wp.com/illizeo.com/wp-content/uploads/2026/11/parcours-regles-d-affectation-03.en_.png?resize=800%2C109&quality=80&ssl=1)
Testing a combination before a contract starts

## Deleting a rule

Click **Delete** at the end of the row, then confirm in the **Delete this rule?** window. The rule is deleted permanently, with no recycle bin. Journeys already opened through it are untouched: they keep their template. To suspend a rule without losing it, untick **Active** instead.

## Good to know

- **A new contract does not have its criteria yet.** The journey opens as soon as the contract is created, and the **New contract** window only asks for the start date. An empty contract has no sub-company, position or type: only a rule with no criteria or the default template can apply. A copied contract carries the criteria of the old contract, old sub-company included. Completing the Position section afterwards does not change the template.
- **Hiring does not read the rules.** With the hiring wizard, the onboarding template is chosen by hand, external workers included: onboarding rules only apply to the first contract added from a profile that has none.
- **External workers’ contract types.** They are only offered in the list if a contract in your organisation already carries them, followed by “(other country)”.
- **Deleted template.** Deleting a template that a rule points to archives it: the rule stays listed with “Template archived — rule ignored”, and the next rule or the default template takes over.
- For crossboarding and reboarding, see also [Crossboarding and reboarding: mobility, new contract and return](https://illizeo.com/en/centre-aide/journeys-crossboarding-and-reboarding/).

### *Similaire*
