Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums Forums OroCRM OroCRM – Programming Questions Custom workflow condition action does not work

This topic contains 2 replies, has 2 voices, and was last updated by  Dmitry Khrysev 3 years, 4 months ago.

  • Creator
  • #22190

    Nikita Petrov

    I try to create custom workflow transition action to implement message sending in AQ by STOMP.

    I created my own new bundle Test\Bundle\STOMPBundle without any inheritance, added data to services.yml and wrote my action as full copy of assign_value action.



    Usage in workflow.yml (same as for assign_value action):

    When I call my action I get error:

    But when I replace my test action with original assign_value action everything is fine!

    It seems that in input of my action all arguments put as null. What I do wrong? How I should declare my action in right way?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #22191

    Nikita Petrov

    Anybody please help me! 🙂


    Dmitry Khrysev

    Hi, Nikita

    You have not added required ContextAccessor dependency to your service definition, that’s why you got this error

    Correct service definition for your action must be

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

You must be logged in to reply to this topic.