Batch
This module defines a mass processing, run periodically by a task, that applies a single action to a whole set of contents: changing their lifecycle state or posting an event on each of them. Where a lifecycle reacts to what happens to a content, a batch goes and fetches the concerned contents and acts on them without a user's intervention.
The targeted set is described by a GQL query, which, for instance, moves to "Archived" every night every content approved for more than a year.
- Disabled: suspends this batch without deleting it.
- Set of contents included in batch: GQL query or predicates matching the whole content of the batch. The "preview results" button displays the result of the query.
- Action on each content: action to apply on each content.
- Action type: Post an event: enter the wanted event in the text field.
- Action type: Change state: enter the wanted lifecycle and state in the drop-down lists, then select the conditions in the list:
- on contents using this lifecycle.
- on contents with this next state.
- if entry conditions into this state are validated.