Docs /Entities

How to Manage an Entity

Add stages and task templates so seasons auto-generate the right work.

How to Manage an Entity

Once you've created an entity, the next step is to define its stages and the task templates attached to each stage. Every new season created from this entity inherits them.

This guide goes deep on how stages and tasks work, what each field means, and how they translate into real, scheduled work on a season.

Open the entity

  1. Go to Stock in the sidebar, then the Crop templates tab.
  2. Click the entity row to open its detail view.

You'll see sections for Details, Stages, and Tasks.

Entity detail page — details card on top, stages and tasks below.
Entity detail page — details card on top, stages and tasks below.

Edit details

Click Edit on the Details card to update name, variety, maturity days, expected yield, etc.

Changes apply to future seasons. Existing seasons keep the values they were created with.


Stages: the heart of the entity

A stage represents one phase of the cycle. Together, an entity's stages describe the full lifecycle.

Crop example

OrderStageDurationNotes
1Land Preparation14 daysClearing, tilling, soil amendments.
2Planting3 daysSowing or transplanting.
3Vegetative Growth45 daysLeaf and stem development.
4Flowering21 daysPollination, flower drop monitoring.
5Fruiting30 daysFruit set and growth.
6Harvest14 daysPick, sort, store.

Livestock example (broiler chickens)

OrderStageDuration
1Brooding14 days
2Grower14 days
3Finisher14 days
4Pre-Market3 days

Stages give the platform a timeline. Without stages, nothing knows when during a season anything should happen.

Add a stage

Add Stage modal — multi-row form lets you queue up to 5 stages at once.
Add Stage modal — multi-row form lets you queue up to 5 stages at once.
  1. In the Stages card, click Add Stage.
  2. Fill in:
    • Name — required. E.g. Flowering. Keep names short and consistent across entities.
    • Duration — typical length of the stage as a number. E.g. 21.
    • Duration Unit — day, week, month, or year. Most stages use day.
    • Description — optional notes shown when the stage is viewed in a season.
  3. Click Add to queue another stage (up to 5 at a time), then submit.

The stage's order is set by the position in the list — drag rows to reorder before saving.

How duration is used

The platform multiplies each stage's duration by its unit to compute the stage length in days. It then:

  • Lays stages end-to-end starting from the season's start date.
  • Computes each stage's expected start and end dates.
  • Schedules task templates within those windows.
  • Computes the entity's total cycle length as the sum of all stage durations — useful for setting the season's Expected Harvest Date.

If you leave duration blank, the stage exists but has no length. Its task templates won't have computed dates until you set one — they'll be due "as soon as the stage starts."

Edit a stage

Click the edit icon on a stage row. Changes:

  • Affect future seasons only.
  • Do not retroactively reschedule tasks on existing active seasons.

If you need to update a current season, edit its tasks directly on the season detail page.

Delete a stage

Deleting a stage removes its task templates. Existing seasons keep tasks that were already generated — only future seasons are affected. The order of remaining stages is preserved (no gap).


Task templates: what work happens at each stage

A task template is a standard job done during a stage — e.g. Apply foliar fertilizer during Flowering. When a season is created, every template materializes into a real task with a real due date.

Add a task template

Task template form — name, frequency, offsets, and stage assignment.
Task template form — name, frequency, offsets, and stage assignment.
  1. Open the stage from the Stages table.
  2. Click Add Task.
  3. Fill in the fields below.
  4. Click Add to queue more (up to 15 at a time), then submit.

Task template fields

FieldWhat it does
NameRequired. Short title that becomes the task title. E.g. Apply NPK 15-15-15.
FrequencyOptional number. If set, the task repeats every N units during its window. E.g. 7 with unit day = weekly.
Frequency Unitday, week, month, year. Required if Frequency is set. Reads as "per day", "per week", etc.
From Start OffsetWhen the task first becomes due, measured from the start of the stage. 0 = day one of the stage.
To End OffsetWhen the task stops repeating (or its single due date if no frequency). Must be ≥ Start Offset.
Offset Unitday, week, month, year. Required if Start Offset > 0.
Entity StageWhich stage this task belongs to. Auto-filled when you add the task from a stage.
DescriptionRich-text notes shown on every materialized task. Useful for instructions, dosages, safety notes.

How offsets and frequency combine

Three common patterns:

1. One-off task at a specific day of the stage

  • Start Offset = 5, End Offset = 5, Frequency = empty.
  • Materializes as one task on day 5 of the stage.

2. Recurring task across a window

  • Start Offset = 0, End Offset = 14, Frequency = 7, Frequency Unit = day.
  • Materializes as tasks every 7 days from day 0 through day 14 — so day 0, day 7, day 14.

3. Recurring throughout the whole stage

  • Start Offset = 0, End Offset = stage duration, Frequency = 1, Frequency Unit = day.
  • Daily task for the full stage. Use sparingly — it generates a lot of tasks.

Real examples

StageTaskStartEndFreqUnitResult
PlantingSow seed00—dayOne task on day 0.
Vegetative GrowthWeed control73514dayEvery 14 days, days 7 / 21 / 35.
FloweringPollinator monitoring0213dayEvery 3 days through flowering.
BroodingVaccinate flock11—dayOne task on day 1.
FinisherWeigh sample birds0147dayWeekly check.

Edit a task template

Click the edit icon on the task row. Same caveat — changes apply to future seasons. To change a task on a running season, edit it on that season's task list.

Delete a task template

Removes the template. Generated tasks on existing seasons stay where they are.


How a season uses all this

When you create a season from this entity:

  1. The platform reads the entity's stages in order.
  2. Lays them out starting from the season's start date.
  3. For each stage, walks every task template.
  4. For each template, computes due dates from start offset, end offset, and frequency.
  5. Creates a real task per due date, linked to the season and the stage.

The season's task list is the result. You can then assign workers, mark tasks complete, add ad-hoc tasks, and log events.

Common pitfalls

  • No stages → no tasks. A season created from a stageless entity has zero auto-generated tasks. You can still add tasks manually, but you lose the whole point of templates.
  • Wrong offset unit. Setting Start Offset = 2 with unit week means day 14, not day 2. Double-check the unit dropdown.
  • End < Start. The form rejects this. End Offset must be ≥ Start Offset.
  • Frequency without unit. If Frequency is set, Frequency Unit is required — the form will surface a validation error.
  • Editing during a live season. Stage and task template edits affect future seasons only. Plan your changes around your season calendar, or duplicate the entity for a new variant.

Tips

  • Keep stage names consistent across entities (e.g. always Harvest, never Harvesting). It makes reports cleaner.
  • For livestock entities, treat each production cycle as a stage (Brooding, Grower, Finisher) — not the animal's whole life.
  • For perennial crops, model one annual cycle as the entity. Each year's growth is a new season on the same entity.
  • Use Description generously — workers see it on every assigned task.

See also