Plunet icon

Plunet

Get and Set Data for Plunet BusinessManager

Actions156

Job Fields → Get Resource ID

AI-generated

Summary

Get Resource ID for a Job Field

Inputs

  • projectType — Project type (Quote or Order) used to determine which resource ID to fetch. Options: Quote (value 1), Order (value 3). Default: Order (3).
  • jobID — Numeric job ID for which the resource ID is retrieved. Minimum value 0, step 1. Default: 0.

Output shape

An object containing the retrieved resource ID in the json field, e.g., { resourceId: }. If the node is configured to continue on failure and an error occurs, the output will be { success: false, error: '' }.

The operation is only visible when the resource is set to 'Job Fields' (internally mapped to the DataJob30Misc service). It calls the underlying service's getResourceID method with the supplied project type and job ID.

Examples

Example 1: Fetch resource ID for an Order with job ID 42

Resource: Job Fields; Operation: Get Resource ID; Project Type: Order (3); Job ID: 42

Discussion