PiRemovalTaskLogItem.type
Property Description |
Indicates the change described by this log item. Possible values include:
|
Type |
string (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 myId = myPiRemovalTask.id;
var myStatus = piremoval.getTaskStatus({
id: myId
});
var theLogList = myStatus.logList;
for (var i = 0; i < theLogList.length; i++) {
var theLogListType = theLogList[i].type;
// Do something with the log list type here
}
...
// Add additional code