Skip to content

Main content

Document Routing Owner Single Hop Tool

Resolve one caller-defined routing edge without recursively traversing a workflow.

Loading tool…

Description

If currentOwner occurs, return its mapped owner with routed=true; otherwise return currentOwner unchanged with routed=false.

Administrative records depend on literal identifiers, numbering conventions, check alphabets and ownership mappings. A duplicate count, check symbol or one-hop route helps reconcile metadata without authenticating a document or establishing who has authority over it. A well-formed label can still refer to the wrong record.

If currentOwner occurs, return its mapped owner with routed=true; otherwise return currentOwner unchanged with routed=false.

When to use this tool

Use Document Routing Owner Single Hop when checking the stated administrative key, numbering, continuity or routing convention.

How to use the tool and how it works

  1. Enter currentOwner, fromOwners, toOwners. Follow any array-alignment requirements below. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read nextOwner, routed. Inspect routed before interpreting the associated values.

Require aligned owner lists and unique fromOwners. If currentOwner occurs, return its mapped owner with routed=true; otherwise return currentOwner unchanged with routed=false.1

Input fieldMeaning and unitsAccepted input
currentOwnerCurrent OwnerRequired. Text; maximum UTF-16 length 8192.
fromOwnersFrom OwnersRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
toOwnersTo OwnersRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
nextOwnerNext OwnerRequired. Text; maximum UTF-16 length 8192.
routedRoutedRequired. Boolean.
json
{
  "input": {
    "currentOwner": "A",
    "fromOwners": [
      "A",
      "B"
    ],
    "toOwners": [
      "B",
      "C"
    ]
  },
  "output": {
    "nextOwner": "B",
    "routed": true
  }
}

Limitations and assumptions

  • Only one hop is followed; self-maps can be routed=true, and no full route, cycle check or actual authority is inferred.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Use authoritative source records and the complete applicable document/process scheme for actual identity, routing or integrity decisions.

References

  1. Calculation and input contract: administrative-science/document-routing-owner-single-hop — tool.io

Similar or alternative tools