Action.id
Property Description |
The ID of the action. For a list of action IDs, see Supported Record Actions. |
Type |
string |
Module |
|
Sibling 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