Task Guid for new tasks

K

kernel

I am using the statusing API's create assignment method to create a task and
an assignment: what's the best way to get the task id? I pass in Guid.Empty
for the task id in this case but I need to get the task Id created by Project
server.
Is there a way to use statusing API to get this task id?

thanks!
 
G

Guest

Hi Kernel,

As you have the assignment uid, you can use the Statusing ReadAssignments
method to retrieve the assignment and read the Task_UID value.

Does this answer your question?

Bob Segrest
 
M

Maik

Hi all,
i´m using Statusing.ReadStatus with Guid.Empty and Start/End date to get all
assignments from the specified date range.
The TASK_UID that is delivered from the WebSvc is the TASK_UID from the
MSP_TASKS_SAVED Table, so when i used this Guid to filter a row in a
ProjectDataSet which was filled by the ProjectWebSvc.ReadProjectEntities
method,
there will be no row cause of the wrong guid. The right Guid would be the
TASK_PUBLISHED_UID from the MSP_TASKS_SAVED table.

Can anyone confirm this ? Is this a feature or a bug ?

Greets
Maik
 
M

Maik

doesn´t matter anymore, the TASK_UID in the assignments table from the
StatusingDataSet filled by the ReadStatus method is the one from the
MSP_TASKS_SAVED table, but the tasks table in the same DataSet has the right
TASK_PUBLISHED_UID.

:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top