none
Close tasks to update via PSI?? RRS feed

  • Question

  • Hi All,

    We are looking for a way to when a Project is decided to close, automatically lock project tasks in order to prevent people from submitting task updates.

    In Server Settings exists the possibility "Close Tasks to Update", but can we reproduce the same behaviour via PSI??

    Thanks!


    Miguel Soler
    Thursday, December 1, 2011 9:14 AM

All replies

  • Hi Miguel,

    Yes, It seems that you can do that. I did try sometimes back using Statusing web service. You can use QueueLockDownTasks method of Statusing web service which Locks or unlocks the specified tasks in the ProjectDataSet parameter, for the specified project. http://msdn.microsoft.com/en-us/library/gg178593.aspx

    Hope that helps.


    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
    Thursday, December 1, 2011 9:55 AM
  • Miguel,

    I'm quite interested in the scenario where you want to apply this. I have done some extensive research on this, trying to make it possible to 'lock down' a task from within the scheduling grid. Through this journey I stumbled across the mentioned Close Tasks to Update method, but you also can (un-)set the TASK_LOCKDOWN_BY_MANAGER field within the dataset and use the 'regular' QueueUpdateProject method.


    Jan Cirpka
    • Proposed as answer by Jan R. Cirpka Tuesday, December 13, 2011 1:35 PM
    • Unproposed as answer by Miguelet_ Tuesday, December 13, 2011 2:32 PM
    Tuesday, December 13, 2011 1:35 PM
  • Hi Amit and Jan,

    Thanks for your interest. I will try next week your advices and I´ll give u some feedback!

    Kind regards!


    Miguel Soler
    Tuesday, December 13, 2011 2:33 PM
  • Hi,

     

    Even I have the same requirement, and found QueueLockDownTasks can be used using PSI.

    But I am unable to found which method returns "[Statusing Web service].ProjectDataSet".

    Do I have to build the database programatically using "[Project Web service].ProjectDataSet"?

    Wednesday, December 21, 2011 4:54 AM