ssossossosso

Forums

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

This topic contains 2 replies, has 2 voices, and was last updated by mlozynskyy mlozynskyy 3 months, 2 weeks ago.

  • Creator
    Topic
  • #34824
    mlozynskyy
    mlozynskyy
    Participant

    Hello!
    How can I override workflows “steps”.
    I did it by Imports described here https://github.com/orocrm/platform/blob/master/src/Oro/Bundle/WorkflowBundle/Resources/doc/reference/workflow/configuration-reference.md, but it does not work. I have got message that I should implement also transitions for my new workflow, add entity etc. when I do:

    My code has written in that way:

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

    mmiasnikov
    Oro Core

    Hi, @mlozynskyy!

    The configuration, provided by you above, creates a new clean new_workflow definition, that import from b2b_flow_lead workflow ONLY it’s steps definition. As I suppose, this is not what you need?

    Accordingly to Configuration reference, if you want to create a new workflow based on some existing (for ex. “b2b_flow_lead”) and just replace steps in this new workflow, you should create configuration like

    #35053
    mlozynskyy
    mlozynskyy
    Participant

    My config file looks like:

    And I execute:

    After I get an error:

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

You must be logged in to reply to this topic.