Skip to content
pCon.configurator onlineDocumentation
Esc
↑↓navigate↵open⌘Jpreview
On this page

InsertTaskResult

Synopsis

struct InsertTaskResult
{
    string taskId; // attribute
    string? faultMessage; // element
    BItemId[] insertedItemIds; // element
    BItemId[] originalItemIds; // element
}

Result of one batchInsert task, matched to the task by taskId. A present, non-empty faultMessage indicates task failure and uses the same message format as BasketServiceFault.

insertedItemIds is empty if insertion failed, contains one ID for a successful insert task, and may contain multiple IDs for PasteTask (or none for an empty OBX file). Both insertedItemIds and faultMessage may be non-empty if insertion or pasting succeeded but setting properties failed.

originalItemIds is used only for PasteTask when returnOriginalItemIds=true. It contains the original OBX IDs, has the same length as insertedItemIds, and pairs each original and inserted ID at the same index. Do not rely on task result ordering.