Clarity

  • 1.  Unlocking a Project via Process or GEL Script

    Posted 03-26-2018 09:03 AM

    Does anyone know how to remove the lock attribute on a project via an existing, canned Process, or do you have a GEL script that accomplishes this?  Here's why I want it:

     

    1) We are using the CAPPM-Agile Central interface, and have that job scheduled to run nightly.

    2) Sometimes user sessions abnormally terminate and the "project locked" attribute is not removed.

    3) When the scheduled job runs, it reports failure status because of the locked project (which isn't truly locked).  See error message below.

     

    Yes, I know that it's possible that a user might actually be working on the project, and the lock could be valid.  Given the timing of the job (9:00 PM Eastern) and the geography of our user base, this is EXTREMELY unlikely.  I'm willing to take the chance.

     

    If I could run a job that kills all project locks 15 minutes before the Synchronize Agile Central job, I could avoid this failure.  Any advice/suggestions will be much appreciated.  Thanks!  -- Alan Brobst

     

    ----------------------------------------------------------------------------------

     

    SYNCHRONIZE AGILE CENTRAL ERROR MESSAGE:

     

    There was a problem updating CA PPM project:201220 BNSF D9 X / OTA over ITCM
    400
    projmgr.COULD_NOT_LOCK_PROJECT_UPDATE
    PRJ-07002: Update operation failed. The project cannot be locked.



  • 2.  Re: Unlocking a Project via Process or GEL Script

    Posted 03-26-2018 02:56 PM

    See if Dave_3.0  's  responses in

    https://communities.ca.com/message/241934072-re-can-you-unlock-an-attribute-with-a-process-with-a-gel-step?commentID=241… 

    help.

     

    Don't see project locked attribute in std PPM. Either that comes with the interface or it is another attribute id any.