PiRemovalTask.workflowIds
Property Description |
IDs of workflows where PI is removed from the workflow history. If no workflow IDs are entered, no information changes are performed. If the workflow IDs are null or invalid, the following exception occurs:
|
Type |
number[] (read-only) |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2019.2 |
Syntax
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, 107],
fieldIds: ['email', 'phone'],
workflowIds: [1, 7],
historyReplacement: 'removed_value'
});
myPiRemovalTask.save();
var theWorkflowIds = myPiRemovalTask.workflowIds;
...
// Add additional code