Skip to content
Snippets Groups Projects
Commit 34796631 authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

Merge branch '1080856_WorkflowModelerAlias' into '2021.1.0'

Workflow Modeler Alias

See merge request xrm/basic!944
parents a6362298 a4ecffda
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,15 @@ WorkflowUtils.engineIsEnabled = function ()
*/
WorkflowUtils.getModelerUrl = function (pModelId, pIsEditor)
{
var modelerUrl = project.getPreferenceValue("custom.workflow.modelerUrl", "").replace(/\/$/, "");
var modelerAliasName = project.getInstanceConfigValue("workflowModelerAlias", "") || "WorkflowModeler";
if (!modelerAliasName)
return "";
var modelerProperties = project.getAliasModel(modelerAliasName)[project.ALIAS_PROPERTIES];
if (!modelerProperties.modelerUrl)
return "";
var modelerUrl = modelerProperties.modelerUrl.replace(/\/$/, "");
if (pModelId)
{
if (pIsEditor)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment