0
votes

Please help me understand the difference between business process and events in hybris. What is the advantage of using Business Process over events?

1
SAP Hybris is a subsidiary company, not a product. Which SAP Hybris product are you using specifically?Dai
@Dai From the tag, he's referring to SAP Hybris (now known as SAP Commerce Cloud).geffchang

1 Answers

3
votes

The Hybris Process Engine is used for defining business processes. It is similar to a workflow (like a workflow diagram). It has a sequence/flow to be followed, and uses different kinds of nodes:

  • Action: carry out process logic and permit alternative actions to be carried out
  • Wait: wait for a subprocess or an external process result
  • Notify: inform a user or user group of the state of a process
  • Split: split the process into parallel paths
  • End: end the process and store state in a process item

Hybris also has a Workflow System. It is different from the Process Engine, but conceptually the same and uses different classes.

Business Process does not have human intervention, but a Workflow can have.

On the other hand, the Event System is simply for receiving and sending events. It's similar to the Observer design pattern.

OFFICIAL REFERENCES: