OBJECT

FormResult

A single submitted result for a form

link GraphQL Schema definition

  • type FormResult {
  • # The form which these results relate to.
  • form: Form
  • # The user's location when they submitted the form
  • submit_location: Geolocation
  • # Client selected at the header level. Null if was turned off on the form.
  • client: Client
  • # Project selected at the header level. Null if was turned off on the form.
  • project: Project
  • # Asset selected at the header level. Null if was turned off on the form.
  • asset: Asset
  • # Worker selected at the header level. Null if was turned off on the form.
  • worker: User
  • # Supplier selected at the header level. Null if was turned off on the form.
  • supplier: Supplier
  • # The user this form result is assigned to. Null if nobody assigned.
  • assigned_to_user: User
  • # The order related to this form result.
  • order: Order
  • # The order resource this form is related to (i.e. was created from an
  • # allocation).
  • order_resource_id: Int
  • # The order resource date this form is related to (i.e. was created from an
  • # allocation).
  • order_resource_date_id: Int
  • # The current status of this form result.
  • status: FormStatus
  • # The list of results that were entered into the fields.
  • result_data: UntypedValue
  • # Unique form result ID.
  • id: Int!
  • # The user that created this form result.
  • created_by: User
  • # The date the form result was created, GMT.
  • created_time: DateTime!
  • # The date the form result was submitted, GMT.
  • submitted_time: DateTime
  • # The user that last modified this form result.
  • modified_by: User
  • # The date the form result was modified, GMT.
  • modified_time: DateTime
  • # The previously merged documents.
  • merged_documents: [MergedDocument]
  • # Assets that have been linked via a field in the result_data.
  • linked_assets: [Asset]
  • # Users that have been linked via a field in the result_data.
  • linked_users: [User]
  • # Past versions of the shared form.
  • past_versions: [FormResultPastVersion]
  • # Form result lock that stops other people from editing the form result.
  • lock: FormResultLock
  • # Current version number.
  • version: Int
  • # If the form is locked.
  • is_locked: Boolean
  • # Whether a form result is currently in progress (not submitted)
  • in_progress: Boolean
  • # The allocation the form result was linked to
  • allocation: Allocation
  • # The settings for displaying a form result
  • display_settings: FormDisplaySetting
  • }