Skip to main content

BenefitWorkItem

A work item scoped to a single benefit.

This is a subtask of SingleClientWorkItem.

type BenefitWorkItem implements WorkItem {
benefit: Benefit!
benefitValue: BenefitValue
deviations: [Deviation!]!
reason: String
state: WorkItemState!
}

Fields

BenefitWorkItem.benefit ● Benefit! non-null interface

Related benefit.

BenefitWorkItem.benefitValue ● BenefitValue union

The value of the provided benefit. Mandatory only for single client work items with benefits with a non-default benefit variant type.

BenefitWorkItem.deviations ● [Deviation!]! non-null enum

Shows all possible deviations, if available

BenefitWorkItem.reason ● String scalar

Reason why this work item is rejected. Only available if state is REJECTED.

BenefitWorkItem.state ● WorkItemState! non-null enum

Current state of the work item.

Interfaces

WorkItem interface

Work items are tasks an employee can perform during his shift.

Currently it's implemented by

  • ActivityWorkItem
  • ClientPoolWorkItem
  • SingleClientWorkItem which have the following sub tasks:
  • BenefitWorkItem
  • ClientWorkItem

Member Of

SingleClientWorkItem object