Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System/Workflow → WorkflowOpPrepareRevert

AI-generated

Summary

Reverts a system workflow in Zen ERP to a prepared state using the specified workflow ID.

Inputs

  • id (required) — The numeric identifier of the workflow to revert to its prepared state.

Output shape

a single JSON object representing the result of the revert operation

The output includes the response from the /system/workflow/workflowOpPrepareRevert endpoint. Errors are returned as JSON with error details if the execution continues on failure.

Examples

Example 1: Revert a specific workflow to its prepared state

Set id to the workflow's numeric ID to revert that workflow using the WorkflowOpPrepareRevert operation.

Discussion