Update Tasks with XOG
search cancel

Update Tasks with XOG

book

Article ID: 281443

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

Trying to update existing Tasks with XOG, and the XOG is inserting new tasks instead. Using the projects XOG to read / update the tasks. What is the recommendation to be able to do this with XOG?

Resolution

  • To be able to update an existing task on a project, you have to add either one of the below fields:
    • task ID
    • external ID
  • We recommend using taskID for this purpose
  • For example, if you add task id to the XOG, the import will match the task and determine the task has to be updated
  • If you do not specify taskID, then the import will assume this is a new task and proceed with the insert
  • What to do if your task has task ID set to null?
    • If you would like to update a task that is set to null, we suggest adding a task ID from Clarity UI and then you can update it by XOG
    • You can also set up autonumbering on this field
  • Example XOG to use / test with: