Action.id

Property Description

The ID of the action.

For a list of action IDs, see Supported Record Actions.

Type

string

Supported Script Types

Client and server scripts

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

Module

N/action Module

Sibling Object Members

Action Object Members

Since

2018.2

Syntax

Important:

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

          // Add additional code
...
var actionObj = action.get({
         recordType: 'timebill', 
         id: 'approve'
});

// Get the action ID
var theID = actionObj.id;
...
// Add additional code 

        

Related Topics

action.Action
N/action Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices