OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions Open new tab workflow

This topic contains 1 reply, has 2 voices, and was last updated by  Yevhen Shyshkin 8 years, 2 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
  • #28711

    arash.zamani
    Participant

    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
    Replies
  • #28712

    Yevhen Shyshkin
    Participant

    Hello.

    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)

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

Back to top