PiRemovalTaskStatus.logList

Note:

The content in this help topic pertains to SuiteScript 2.0.

Property Description

Gets list of logs for the PiRemovalTask job.

Type

piremoval.PiRemovalTaskLogItem[]

Module

N/piremoval Module

Parent Object

piremoval.PiRemovalTaskStatus

Sibling Object Members

PiRemovalTaskStatus 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++) {
    log.debug({
        title: 'logList value',
        details: theLogList[i]
    });
}
...
// Add additional code 

          

Related Topics

piremoval.PiRemovalTaskStatus
N/piremoval Module
Personal Information (PI) Removal

General Notices