Discussion Forums

Can someone confirm creating tasks with completed flag set to true (1) works?

 
Lyncean
38 posts

I’m creating tasks and I’m sending the following data:

<request>
  <
parent>1650049</parent>
    <
data>
      <
title>testing a task title</title>
      <
duedate>2009-10-22</duedate>
      <
completed>1</completed>
    </
data>
</
request

But somehow the completed flag in the task is not set.

I desperately need this to finish my importing.

thanks,
Alef

p.s. I’ve also tried with ‘0’, but this doesn’t seem to work

Avatar
Administrator
1823 posts

Tasks are forced to an uncompleted state when created.  You’ll need to post a second transaction to complete it after creating (note that the response to the create request includes the ID of the new task).

Lyncean
38 posts
Engineering SpecialOps - Jan 20, 2010 04:21pm

Tasks are forced to an uncompleted state when created.  You’ll need to post a second transaction to complete it after creating (note that the response to the create request includes the ID of the new task).

Thanks for the quick reply. This helps a lot!