Importing tasks via XOG results in duplicate tasks.

book

Article ID: 51679

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

When updating project tasks via XOG, existing tasks are not updated. New, duplicate, tasks are created instead

Steps to Reproduce:

Create a project with tasks (make sure the tasks have no task IDs assigned)
XOG it out
XOG it back into the same server

Actual Result: Created tasks are listed twice, while resources and effort are not.

Cause

XOG task write operations are required to have a taskID defined.
If taskID is empty, XOG will create a new task instead.

Resolution

The only way to overcome this situation is by filling the taskID in the XOG write files.

Workaround:

In order to avoid theis duplication you can do the following:
In Studio, on the task object, mark the task ID attribute as required.
This will force the user to provide a task ID in order to create a task.
Once the ID has been provided, the duplication will be avoided.
The export of internalID is for diagnostic purposes and is ignored on import.