eZ Community » Forums » Developer » notification on state change
expandshrink

notification on state change

notification on state change

Wednesday 10 August 2011 2:53:38 am

When using subtree notifications...

It seems like there's no posibility to receive email notification when a state of an object is changed.

So imagine this scenario:

  • we have an editorial workflow with an approve mechanism that is using object states
  • when a new object is published it gets the status "draft" which is not visible by regular users
  • editor approves the object by setting it's state to "approved and published" - then it's visible to regular users

So in this scenarion the regular users that are subscribed to a category won't be notified when an object in this category becomes visible to them (changes state to "approved and published"blunk.gif Emoticon.

Adding create-notification part to the body of updateobjectstate operation would solve this.

Would this be the right way to add this feature?

P.S. I have played a little bit with it and it works with just a few modifications to kernel/content/operation_definition.php and kernel/state/assign.php.

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from