OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Add an event to a notification rule

This topic contains 3 replies, has 2 voices, and was last updated by  julien3 1 year, 1 month ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #40065

    julien3
    Participant

    Hello,
    Actually in OroCommerce we can create a notification rule for the entity order using 3 events :
    – “Entity create”
    – “Entity remove”
    – “Entity update”

    But workflow transition is not possible like Contact Request.
    How to i add “workflow transition” to the form for the Order entity.

    Thanks in advanced

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #40072

    julien3
    Participant

    I already found that there is an extension :
    EmailNotificationTypeExtension
    who add this listener : EmailNotificationTypeListener
    checking this line : $this->workflowRegistry->hasWorkflowsByEntityClass($entityName))
    yes this return yes , then workflow line is added.
    Im trying to understand how i can do this for order.

    #40073
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    Hi Julien,

    Out of the box, there are no workflows for an Order entity, that’s why you don’t have workflow transition at the list.
    Maybe you meant Checkout entity, as there are few workflows assigned to it. Then first you have to create an email template for Checkout entity, to be able to add notification rules for it.

    #40083

    julien3
    Participant

    Ok ty.

Viewing 3 replies - 1 through 3 (of 3 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No