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

This topic contains 1 reply, has 2 voices, and was last updated by Yevhen Shyshkin Yevhen Shyshkin 1 year, 10 months ago.

  • Creator
  • #15868


    I want to open the route in post action item of workflow (transition definition) in the new tab. does it possible? if yes, how?

Viewing 1 replies (of 1 total)
  • Author
  • #16084
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core


    You should implement new action for that.

    From backend side your action should generate appropriate URL and pass this URL to frontned via result property (see redirect action in Oro/Bundle/WorkflowBundle/Model/Action/Redirect.php for example).

    From frontend side you should add JS listener to transitions_success event and open new tab with URL passed from backend (see transition executor in Oro/Bundle/WorkflowBundle/Resources/public/js/transition-executor.js for example).

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.