Conditions

Last published : Aug 14, 2026
Conditions are a feature of GridServer. Conditions affect how Service Sessions and tasks are scheduled to Engines. Conditions enable you to use Engines selectively based on their properties.
GridServer provides the following types of Conditions:
  • Discriminator Conditionsspecify a subset of Engine that can work on a task or Session, typically based on Engine properties.
  • Affinity Conditionsenable you to set an affinity for tasks or Sessions for Engines, based on Service state and typically properties. Unlike Discriminators, they do not prevent tasks from going to any Engine, it only attempts the best match.
  • Dependency Conditionsenable submitting workflows to a Broker without an active Grid client to manage Dependencies (wait for completed tasks, submit more based on a successful outcome, and so on).
  • QueueJump Conditionsenable the Driver to specify that a Task is placed at the front of the waiting queue, rather than at the back.
  • Descriptor Conditionsset descriptive information about an Invocation request.
  • EXTRAConditionsprevent Engines from taking Tasks when a necessary resource, such a database connection, is not available. The current resource counts are updated with a simple REST API.
Related information