PiRemovalTask.id
Property Description |
ID that uniquely identifies the PI removal task. This ID is assigned to the PI removal task when PiRemovalTask.save() is called to save the task. You cannot specify your own task ID. |
Type |
number (read-only) |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2019.2 |
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/piremoval Module Script Sample.
// Add additional code
...
var myPiRemovalTask = piremoval.createTask({
recordType: 'customer',
recordIds: [95],
fieldIds: ['email'],
historyReplacement: 'removed_value'
});
myPiRemovalTask.save();
var theId = myPiRemovalTask.id;
...
// Add additional code