Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Remove final Status, not working
    • Sign In

    • State Verified Answer
    • Replies 4 replies
    • Answers 1 answer
    • Subscribers 67 subscribers
    • Views 1902 views
    • Users 0 members are here

    Remove final Status, not working

    Stephen Herrick
    Offline Stephen Herrick over 4 years ago

    Has anyone had an issue using

    Set-PWDocumentFinalStatus -RemoveFinalStatus

    Get-PWDocumentsBySearch -FolderPath $RootFolder | Set-PWDocumentFinalStatus -RemoveFinalStatus

    I can set the final status, with no problem,

    Verbose shows the files being processed with no errors, but no luck in removing the final status

    Using the following versions

    PWPS_DAB Version: 1.12.10.0

    PowerShell Version: 5.1.14409.1018

    Running As Administrator!

    64-bit PowerShell!

    • Sign in to reply
    • Cancel

    Top Replies

    • Stephen Henry
      Offline Stephen Henry Tue, Oct 1 2019 2:08 AM in reply to Stephen Herrick +2 verified
      Check that the ProjectWise account that you are using has "Can remove final status" ticked in Document settings. I was able to Final and remove Final state when it was ticked when running PowerShell…
    Parents
    • Stephen Herrick
      0 Offline Stephen Herrick Mon, Sep 30 2019 6:29 PM

      BTW, I am using fullpath,

      Get-PWDocumentsBySearch -FolderPath $RootFolder.FullPath | Set-PWDocumentFinalStatus -RemoveFinalStatus

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • swaroop bukke
      0 Offline swaroop bukke Tue, Oct 1 2019 2:14 AM in reply to Stephen Herrick

      Instead of setting full path try this way

      Get-PWDocumentsBySearch -FolderPath "Projects\111111 - Test\" | Set-PWDocumentFinalStatus -RemoveFinalStatus

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Reply
    • swaroop bukke
      0 Offline swaroop bukke Tue, Oct 1 2019 2:14 AM in reply to Stephen Herrick

      Instead of setting full path try this way

      Get-PWDocumentsBySearch -FolderPath "Projects\111111 - Test\" | Set-PWDocumentFinalStatus -RemoveFinalStatus

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Children
    No Data

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies