Viingx icon

Viingx

Interface to viingx systems

Response → Finalize Asynchronous Action

AI-generated

Summary

Finalize an asynchronous viingx action invocation by posting its status and optional result to the invocation host. Supply the host URL, invocation ID, and bearer token, then choose success or failure; on success, you can include a download, URL, entity, or entity-list result.

Inputs

  • Invocation Host URL (required) — Base URL of the viingx instance that sent the invocation; defaults to the trigger’s invocation host URL.
  • Invocation ID (required) — ID of the invocation to finalize; defaults to the trigger’s invocation ID.
  • Invocation Token (required) — Bearer token from the invocation payload; defaults to the trigger’s invocation token.
  • Status (required) — Choose Success or Failure. A result is available only when status is Success.
  • Message — Optional status message, up to 200 characters.
  • Result — On success, choose None, Download, Open URL, Open Entity, or Open Entity List.
  • Download URL (required) — URL to return when Result is Download.
  • URL (required) — URL to open when Result is Open URL.
  • Entity ID (required) — ID of the entity to open when Result is Open Entity.
  • Entity Type (required) — Entity type for Open Entity or Open Entity List results.
  • Title (required) — Title for an Open Entity List result.
  • Query (required) — JSON query object for an Open Entity List result; defaults to an empty object.

Output shape

A single response item containing the result of the finalization request.

The operation posts the invocation update to the viingx host. The source pack provides signatures but omits function bodies, so the exact returned fields and handling of the HTTP response are not shown.

Examples

Example 1: Mark an action as successful without returning a result

Use the trigger-provided invocation URL, ID, and token; set Status to Success and Result to None.

Links

Discussion