OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – How do I? Questions Workflow overriding only one node

This topic contains 2 replies, has 2 voices, and was last updated by  mlozynskyy 6 years, 10 months ago.

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

  • Creator
    Topic
  • #36479

    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
  • #36480

    mmiasnikov
    Participant

    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

    #36481

    mlozynskyy
    Participant

    My config file looks like:

    And I execute:

    After I get an error:

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

The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.

Back to top