Modules

filter

 

Objects/Functions

module (N/task)

SuiteScript 2.0

WorkflowTriggerTask.params

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

N/task Module
WorkflowTriggerTask.params
Property Description: Key/value pairs to set default values on fields specific to the workflow. These can include fields on the Workflow Definition Page or workflow and state Workflow Custom Fields.
Type: Object
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.params

Example:

// Code Example 1
//Add additional code
//...
task.params = {context: portlet}
//...
//Add additional code

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