Skip to documentation
GenHealth integration

Set Document Status

Perform Set Document Status through GenHealth.

View as Markdown
genhealth_set_document_status
write

Inputs

  • document_id
    expression
    Document Id

    Optional literal value or workflow expression.

  • display_status
    select
    Display Status

    Optional selected identifier or value.

    Default: "review"

    Options: Review ("review"), Complete ("complete"), Processing ("processing")

  • run_completion_hook
    boolean
    Run Completion Hook

    Optional true-or-false value.

    Default: "false"

  • status
    text
    Status

    Optional text value.

  • visibility
    select
    Visibility

    Optional selected identifier or value.

    Default: "unchanged"

    Options: Unchanged ("unchanged"), Visible ("visible"), Hidden ("hidden")

  • hidden
    expression
    Hidden

    Optional literal value or workflow expression.

  • categories
    expression
    Categories

    Optional literal value or workflow expression.

Outputs

  • successSuccess
  • document_idDocument Id
  • display_statusDisplay Status
  • statusStatus
  • hiddenHidden
  • categoriesCategories
  • completion_hook_ranCompletion Hook Ran
  • errorError

Output schema completeness: best_effort_declared

Safety

External effect
write
Confirmation recommended
No
Retry safe
No
Dry run supported
No

Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

Input schema
{
  "type": "object",
  "properties": {
    "hidden": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "status": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "categories": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "visibility": {
      "enum": [
        "unchanged",
        "visible",
        "hidden"
      ],
      "type": "string",
      "default": "unchanged",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "document_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "display_status": {
      "enum": [
        "review",
        "complete",
        "processing"
      ],
      "type": "string",
      "default": "review",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "run_completion_hook": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "hidden": {},
    "status": {},
    "success": {},
    "categories": {},
    "document_id": {},
    "display_status": {},
    "completion_hook_ran": {}
  },
  "additionalProperties": true
}
View all GenHealth actions