none
How to get the project task info using tracking GUID in project server RRS feed

  • Question

  • hi,

    I want the project information using the tracking GUID of the queued job. 

    Can you please let me know which method of queue service should i use to trace the job information in order to find the assignment GUID and project GUID, for which is job is running.

    thanks

    vimal


    regards Vimal

    Saturday, November 24, 2012 8:41 AM

All replies

  • Hi Vimal,

    The [QueueSystem Web service] namespace is an arbitrary name for a reference to the QueueSystem.asmx web service (or the QueueSystem.svc service) of the PSI in Microsoft Project Server 2010. Methods in theQueueSystem class can get job count, job and job group wait time, and status of all jobs, specified jobs, and jobs owned by the caller, or jobs for specified projects. Methods can cancel or retry a queue job, manage job correlation, and configure the queue.
    You can call ReadAllJob status & uset the 
    QueueMsgType Enumeration (20- 30) to get project related jobs:
    http://msdn.microsoft.com/en-us/library/office/websvcqueuesystem.queuemsgtype_di_pj14mref(v=office.14).aspx

    http://msdn.microsoft.com/en-us/library/office/gg224328(v=office.14).aspx

    For assignmentGUId, You will need to trap a serversid eevent handler onPublished event & validate the data.

    Hope that helps.


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Wednesday, November 28, 2012 10:35 AM
  • thanks Amit , i will try using QueueSystem web service and get back to you.

    regards Vimal

    Thursday, November 29, 2012 3:45 AM
  • hi Amit,

    I was able to find the Job guid, but can you please guide me how to get the TaskGuid using that JobGUID, or rather how to find the job info or detail over which task, assignment or project that job GUID belong to.

    thanks

    vimal


    regards Vimal

    Monday, December 10, 2012 4:36 PM
  • Hi Vimal,

    As said that For Task/assignmentGUId, You will need to trap a serversid eevent handler onPublished event & validate the data from projectdataset.

    Hope that helps.


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Tuesday, December 11, 2012 10:38 AM
  • hi Amit,

    thanks for reply,

    Actually i am running Nintex workflow, that run on task approval event, so when the approval is done, workflow triggered, in which i am able to figure out the JobGUID, and its associated project guid, but what i want is that particular taskGUID which is approved/rejected.

    So as your reply, how would you determine the particular taskguid,on approval event?


    regards Vimal

    Monday, December 17, 2012 12:49 PM