Plunet icon

Plunet

Get and Set Data for Plunet BusinessManager

Actions156

Item Fields → Apply Workflow to Item

AI-generated

Summary

Apply a selected workflow to an item using the specified project type and item ID.

Inputs

  • projectType — Project type to use when copying jobs from the workflow (1=Quote, 3=Order).
  • itemID — Numeric identifier of the item to which the workflow will be applied.
  • workflowID — Identifier of the workflow to copy; selected from available workflows.

Output shape

an array of result objects, each containing a json field with the operation result or an error indicator

If continueOnFail is enabled, failed executions are returned as {success:false, error:...}; otherwise errors are thrown.

Examples

Example 1: Copy a job using an existing workflow

Set Project Type (e.g., 3 for Order), provide Item ID, select a Workflow ID, then execute the node.

Discussion