AseptSoft Core Documentation

Process Templates

Process Templates let you define the structure of a process once and reuse it across many processes. A template owns the shared parts — the list of steps and the transition algorithm that links them — while every process that follows the template keeps its own per-step content. This is the single source of truth for the common case where a plant runs the same procedure on several units: a CIP cycle for unit A and the same CIP cycle for unit B share one definition, yet each carries its own valve states.

💡 A template is itself a process, just flagged as a template. Templates collect together at the end of the process lists across AseptSoft and are shown in purple with a distinct flask icon, so they never get confused with the live processes operators activate day to day.

🧩 What a Template Shares — and What It Doesn't

Owned by the template (shared)

Owned by each follower (independent)

The list of steps and their order

Valve and instrument states in each step (for example XV-101 open, CV-202 closed)

Step names and codes

State percentages (for example a valve held at 50%)

The transition algorithm — the conditions linking each step to the next

Custom attributes, notes and manual trackers per step

The composite/leaf structure of steps, including nested sub-steps


So if your CIP template defines Pre-Rinse → Caustic Wash → Final Rinse → Drain with the timing logic between them, every follower inherits exactly those four steps and that logic — but each one decides for itself which valves open during Caustic Wash on its own piece of plant.

🔄 How Following a Template Works

A process that follows a template stays in step with it automatically. When you open (activate) a follower, AseptSoft checks whether the template has changed since the follower last synchronised, and if so it brings the follower up to date on the spot:

  • Steps added to the template appear in the follower (with empty per-step content, ready to fill in).

  • Steps removed from the template are removed from the follower.

  • Step names, order and the transition algorithm are refreshed to match the template — including any nested sub-steps inside composite steps.

  • The follower's own per-step content is left untouched.

This synchronisation happens quietly as you work — there is no background task and no blocking dialog. You edit the template, open a follower, and it has already adapted.

⚠️ Because structure belongs to the template, the structural editing tools (add/remove/rename a step, change the transition logic) are disabled on a follower. If you try, AseptSoft explains that those edits live on the template. Per-step content editing — valve states, attributes — works normally on followers. This guard prevents the surprising case where you edit a follower and a later synchronisation overwrites your change.

📋 Workflow: Promote a Process to a Template

  1. Build one process completely — for example a finished CIP Rinse Cycle with all its steps and transition logic.

  2. Right-click the process and open its Template menu.

  3. Choose Mark as template. The process moves to the end of the list and turns purple.

  4. Create followers from it (see below).

📋 Workflow: Create a New Process from a Template

  1. Right-click the template and open its Template menu.

  2. Choose Create instance from template… and give the new process a name (for example CIP — Tank B).

  3. The new process appears with the full step structure and algorithm copied in, and empty per-step content.

  4. Fill in the valve and instrument states for each step on this unit's P&ID.

📋 Workflow: Attach a Template to an Existing Process

https://downloads.aseptsoft.ch/documentation/images/Process-Design/apply-template.png

When you already have several near-identical processes and want to bring them under one template, the Apply Template dialog maps the existing steps onto the template's steps.

  1. Right-click the process you want to convert into a follower and choose Apply template… from its Template menu.

  2. The dialog shows two columns of steps side by side — the process's existing steps on the left, the template's steps on the right.

  3. AseptSoft proposes a mapping automatically, matching first by name and then by position. Review it.

  4. Use the arrow buttons in the middle to link or unlink any pairs the auto-mapping didn't get right.

  5. The summary line at the bottom previews the outcome — for example "3 steps will synchronise, 1 will be deleted, 2 will be created".

  6. Click Apply. The process becomes a follower and immediately synchronises to the template.

⚙️ Other Template Actions

Action

What it does

Open template

Jumps from a follower to the template it follows.

Sync from template now

Forces an immediate synchronisation — useful right after you have edited the template and want a follower to catch up without reactivating it.

Detach from template

Breaks the link. The process keeps its current structure but stops following the template and becomes freely editable again.

Convert to normal process

Turns a template back into an ordinary process. Its followers are detached cleanly so none are left pointing at a process that is no longer a template.

📊 Keeping Followers in Sync

On a template row, an indicator shows when one or more followers have drifted out of date — for example after you added a step to the template. An Update all subscribers action appears only when there is genuinely something to bring up to date, so it never nags when everything is already aligned.

📄 Templates are a design-time construct. They are hidden from PDF exports, so generated documentation shows only the real, fully-specified processes operators run.