Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum ProjectWise Rules Engine
    • Sign In

    • State Verified Answer
    • Replies 1 reply
    • Subscribers 59 subscribers
    • Views 2892 views
    • Users 0 members are here
    • Rules Engine

    ProjectWise Rules Engine

    Gail Heitland
    Offline Gail Heitland over 9 years ago

    We are thinking of using the Rules Engine feature available on SS4.  I have been looking at "A Guide to the PW Rules Engine and the Rules Engine Example Templates" document.  I noticed in the template that you had a SET_ATTR type with a Param1 listed as TRIG_SUBMITTED.  I am creating my own workflow, adding it to this template.  What is the TRIG_SUBMITTED attribute used for?  For example, does every Workflow that you create using the Rules Engine need a "triggering" attribute (I'm assuming TRIG stands for TRIGGER, but I could be wrong.) 

    • Sign in to reply
    • Cancel
    • Peter Willmen
      0 Offline Peter Willmen Thu, Jul 10 2014 5:15 AM

      Gail,

      The sample rules provided by Bentley are based on the BS1192 Rules design that I originally implemented for a client.

      You are correct in the assumption that the TRIG stands for Trigger. The Rules Engine can only update an attribute with a 'fixed' text  or numeric value (i.e. status= "Submitted") but not on a dynamic value such as date or user name.

      The way around this is to set an update value on the attribute fields that are then triggered by another field change

      e.g.

      Submitted by update value = '$USER.NAME$ , Triggering Attribute = TRIG_SUBMITTED

      Submitted date update value = '$DATE$ , Triggering Attribute = TRIG_SUBMITTED

      With clever use of this functionality you can update multiple fields with dynamic content with a single Rule.

      Hope that helps

      Pete

      Answer Verified By: Gail Heitland 

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel

    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