Modules

filter

 

Objects/Functions

module (N/task)

SuiteScript 2.0

WorkflowTriggerTask.workflowId

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=WorkflowTriggerTask.workflowId for more information.

N/task Module
WorkflowTriggerTask.workflowId
Property Description: Internal ID (as a number), or script ID (as a string), for the workflow definition. This is the ID that appears in the ID field on the Workflow Definition Page.
Type: number | string
Supported Script Types: Server scripts For more information, see SuiteScript 2.0 Script Types.
Module: N/task Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=WorkflowTriggerTask.workflowId

Example:

// Code Example 1
//Add additional code
//...
workflowTask.workflowId = 3;
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_46870056152.html