Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Set-PWDocumentState / Messaging services
    • Sign In

    • State Verified Answer
    • Replies 4 replies
    • Subscribers 65 subscribers
    • Views 1950 views
    • Users 0 members are here

    Set-PWDocumentState / Messaging services

    D.Widdifield
    Offline D.Widdifield over 5 years ago

    Is there a way to enable the messaging services to work when changing the state of a document via a powershell script? Changing the state manually triggers the messaging services to function, but when the state is changed using Set-PWDocumentState it does not.

    We were hoping this could work as part of some automation we are working on. The script works fine, it's a scheduled process but messaging is ignored. Looking for any ideas to enable some kind of notification to select staff.

    d

    • Sign in to reply
    • Cancel

    Top Replies

    • Kevin van Haaren
      Offline Kevin van Haaren Thu, Dec 7 2017 4:52 PM +2 verified
      would regular email work instead of projectwise messaging? PowerShell 5.1 has Send-MailMessage and the PSCX module has Send-SMTPMail. You could use that to send notifications from the script.

    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