cancel
Showing results for 
Search instead for 
Did you mean: 

How to define the notify in process xml

Former Member
0 Kudos

how to define a notify in process xml and do we need to provide any Java classes for this notify implementation.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mallikarjunarao!

The Notify node:

Use this node if there is need to inform a user group or a particular user of a state of a process.

You need to use the <notify...> </notify> elements if you would like to use this node. As an example, you can have something similar to:

 <notify id="notifyadmingroup"then="split">
   <userGroup name="admingroup"message="Perform action"/>
   <userGroup name="othergroup"message="other message"/>
 </notify>

In this example, after a member of the admingroup has committed a message, a message for othergroup is generated. After this message has also been committed the process is informed and the next node (in this example split) is executed.

This link should give some more information:

https://wiki.hybris.com/display/release5/processengine+-+Technical+Guide#processengine-TechnicalGuid...

That should be sufficient if you would like to use this node in your business process.

Best regards,

Niko

bikrambsinha
Participant
0 Kudos

Hi Niko,

Thanks for the answer. How does the usergroup commit the message ?

Can I call a notify from action or wait or split node ? Can it delegate the next action as defined in "then" to an "action" or "wait" node as well ?

Do you have any practical example of notify node since I couldn't find any implementation of this in out-of-the-box accelerator code ?

Answers (0)