diff --git a/src/main/resources/static/js/gw.workflow.js b/src/main/resources/static/js/gw.workflow.js index 3be98cc05..487c02734 100644 --- a/src/main/resources/static/js/gw.workflow.js +++ b/src/main/resources/static/js/gw.workflow.js @@ -408,6 +408,11 @@ GW.workflow = { if (createandrun) { GW.workflow.run(msg.id); } + + GW.workflow.display({id:msg.id, ...workflow}); + GW.workspace.showSaved(); + switchTab(document.getElementById("main-workspace-tab"), "workspace"); + }) .fail(function (jqXHR, textStatus) { console.error("fail to add workflow");