Manage ruminant tag
CLEM.Activities.RuminantActivityTag
Adds or removes a specified tag to/from the specified individuals for customised filtering

You may need to identify specific individuals in the herd for custom management. This activity is used to add (or remove) a Attribute tag from all individuals specified by associated Ruminant groups. These individuals will have this Attribute until removed and this can be checked by the Attributes.Exists(tag) method of each Ruminant object.
All filtering and sorting of ruminants can use Attributes (see Filter by attribute and Sort by attribute)

The following parameters are used to define this activity

The label of this tag.
Required

This defines the application style of this activity. Tags can either be added or removed. The model will ensure duplicate tags cannot be added.

This parameter will determine what action is taken if there are insufficient resources to perform this activity.
You can report an error and stop the simulation, skip this activity or use the resources available. See What to do when resources are limiting

The following components are required for this activity
A Ruminant Tag activity requires at least oneRuminant group to identify the individuals to tag. To tag or untag all individuals add a Ruminant group with no filters provided as children.

This activity uses any number of Ruminant group. It will perform the task on each group in order and therefore may not require all groups before the task is performed.

The following components will add additional functionality to this activity
This activity provides the following units for components: fixed and per head

Any Labour requirement will include labour allocation to perform this activity based on any specified identifiers and units and may limit the outcomes if supported and OnPartialResourcesAvailableAction set to UseAvailableWithImplications

Any Activity fee will include financial costs based on any specified identifiers and units and may limit the outcomes if supported and OnPartialResourcesAvailableAction set to UseAvailableWithImplications

This activity will occur in every time-step unless timers are used to restrict this activity (see Using timers).

This activity will obey all Ruminant activity group in the simulation tree at and above it's location.
Only one instance of this component is permitted in each Activity.

A number of special tag labels are used in CLEM. These labels are used to identify particular individuals and allow you add individuals to groups considered in other activities by adding these tags. We recommend only experienced users use these tags as there are often additional considerations about the individuals chosen and consequences.
Current tags used:
- Sire will identify a breeding male as a sire for pricing and breeding purposes
- Castrated will identify an individual male as castrated
- GrowOut identifies an individual as part of the growing out herd and available for age or weight sales

All individuals of the current herd considering any filter groups above the activity will be tagged.

This task will be performed on individuals meeting the following filter rules
OnFarmTag does not exist
You can further customise this selection by adding Ruminant groups

This task will be performed on individuals meeting the following filter rules
OnFarmTag exists
You can further customise this selection by adding Ruminant groups

This activity is performed during the Animal mark event of the setup and time-step events. This ensures this activity is performed before Manage ruminants.
This activity will occur at the same time as Wean ruminants and Mark ruminants for sale so the order of these three components needs to be considered if they rely on actions of each other.

The following status values apply to this activity and are shown in Activities performed report:
![]() |
blank | The activity was not considered in this time-step |
![]() |
not needed | No individuals met the criteria for tagging |
![]() |
partial | A subset of individuals were managed due to limited resources |
![]() |
success |
Individuals were marked or marks removed |
See also