New business rule: All entities - Notify all object followers upon update (v.23)

OK, we've created a new business rule, but why are we dedicating a separate blog post for it?

Because this is a new kind of business rule, that drives deeper social interaction with you. This business rule is a typical example of achieving a remarkably complex result thanks to Social ERP and something that's a routine action - editing an object.


What does this business rule do, exactly?

The Rule sends a notifications for all users who are following the updated object.

For example, let's have the following situation:

User "Kristina Peycheva" follows a customer "Ivan Ivanov Ivanov". You can see that the star is filled in. It means this user already follows the object. 

09034.jpg

 

Let's now update this customer from another user "Admin". The user "Admin" changes the default payment term days from 0 to 5 and then saves the changes.

09035.jpg

This action will create a Notification for the user "Kristina Peycheva" and for all users following the customer "Ivan Ivanov Ivanov". The notification contains the subject "An object you are following has been updated" and then the display text of the updated object - "Ivan Ivanov Ivanov".

09032.jpg

 



You can see the definition of the rule here:
https://docs.erp.net/model/business-rules/R34361.html

For the needs of the rule, we also created a new notification class "Notify_All_Update". You can read more about it here:
https://docs.erp.net/tech/modules/community/social-interactions/notifications/index.html#notification-classes 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk