WorkflowTriggerTask.id

Property Description

The ID of the task.

Type

string

Supported Script Types

Server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/task Module

Parent Object

task.WorkflowTriggerTask

Sibling Object Members

WorkflowTriggerTask Object Members

Since

Syntax
Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/task Module Script Samples.

          //Add additional code 
...
// A unique task id for the task is returned when you submit the task. (workflowTriggerTask is a previously created task.WorkflowTriggerTask object)

var workflowTriggerTaskId = workflowTriggerTask.submit(); //workflowTriggerTaskId is the unique task id
...
//Add additional code 

        

Related Topics

General Notices