none
Is there any way to create Auto Approval Rule for Enterprise users Programatically(Script/PSI/CSOM ) on Project Server 2016 RRS feed

  • Question

  • Hi All,

    Is there any way to create auto approval rule for Enterprise Resources using CSOM/PSI/ (or) any other approach ?

    Please let me know if there is a way to implement it in Project Server 2016 On-Premise.

    Thanks in Advance.

    -Rajkumar.

    Monday, November 6, 2017 9:52 AM

All replies

  • What kind of approval are seeking? Task approval or timesheet approval or approval for resource creation?

    Cheers,

    Prasanna Adavi, Project MVP

    Blog:   Podcast:    Twitter:    LinkedIn:   

    Monday, December 11, 2017 7:22 PM
    Moderator
  • Hi Prasanna,

    I'm looking for Task approval and timesheet approval.


    Wednesday, December 20, 2017 6:22 AM
  • Hi,

    I know Prasanna would you give the same advice, but I would use the inbuilt Manage Rules feature.  You'll find it in the approvals pane.


    Ben Howard [MVP] | web | blog | book | downloads | P2O

    Wednesday, December 20, 2017 8:01 AM
    Moderator
  • Hi Ben,

    Thanks for your reply, but this should be done for every individual approver right? I'm looking for something like it should automatically approve for all the requests for Time sheets & Task status( my client is not bothering about the schedule changes but they are worrying about the approvals) as we have integrated project server with external application, hence, moving towards to automate everything.

    Is there any way that I can directly create auto approve rules for all the project managers/ specific resources / server level across all users?

    Any idea?

    Thanks.


    Monday, February 19, 2018 2:55 PM
  • For timesheets, if the user is their own timesheet manager, timesheets are auto approved.  A bit of googling might find some tools / powershell scripts to autoapprove and publish updates from Team Members.

    Ben Howard [MVP] | web | blog | book | downloads | P2O

    Monday, February 19, 2018 2:59 PM
    Moderator
  • Hi

    on premises this can be done directly in the database. Table pub.msp_rules / pjpub.msp_rules.

    Create one rule manually for one project manager and you will see how the entry look like. You can then create the same rule for each project manager.

    Of course this procedure is NOT supported - but nevertheless it works without any issues.

    Kind regards

    Christoph


    Christoph Muelder | Senior Consultant, MCTS, MCSE | SOLVIN information management GmbH, Germany

    Tuesday, May 7, 2019 9:37 AM