WF- fix service task Implementation location 50/75150/2
authorYarin Dekel <yarind@amdocs.com>
Sun, 30 Dec 2018 13:57:19 +0000 (15:57 +0200)
committerAvi Gaffa <avi.gaffa@amdocs.com>
Wed, 2 Jan 2019 12:53:16 +0000 (12:53 +0000)
Issue-ID: SDC-2027
Change-Id: I59dc4e2734ac16d66ab7b91f3ca58f6906260373
Signed-off-by: Yarin Dekel <yarind@amdocs.com>
workflow-designer-ui/src/main/frontend/src/features/version/composition/custom-properties-provider/provider/camunda/parts/WorkflowServiceTaskDelegateProps.js

index fee8583..bc87135 100644 (file)
@@ -63,25 +63,21 @@ function WorkflowServiceTaskDelegateProps(
         );
 
         group.entries = group.entries.concat(
-            workflowImplementationType(
+            workflowActivity(
                 element,
+                config,
                 bpmnFactory,
                 {
                     getBusinessObject: getBusinessObject,
-                    getImplementationType: getImplementationType,
-                    hasDmnSupport: isDmnCapable(element),
-                    hasExternalSupport: isExternalCapable(
-                        getBusinessObject(element)
-                    ),
-                    hasServiceTaskLikeSupport: true
+                    getImplementationType: getImplementationType
                 },
                 translate
             )
         );
+
         group.entries = group.entries.concat(
-            workflowActivity(
+            Delegate(
                 element,
-                config,
                 bpmnFactory,
                 {
                     getBusinessObject: getBusinessObject,
@@ -92,25 +88,29 @@ function WorkflowServiceTaskDelegateProps(
         );
 
         group.entries = group.entries.concat(
-            Delegate(
+            ResultVariable(
                 element,
                 bpmnFactory,
                 {
                     getBusinessObject: getBusinessObject,
-                    getImplementationType: getImplementationType
+                    getImplementationType: getImplementationType,
+                    hideResultVariable: hideResultVariable
                 },
                 translate
             )
         );
-
         group.entries = group.entries.concat(
-            ResultVariable(
+            workflowImplementationType(
                 element,
                 bpmnFactory,
                 {
                     getBusinessObject: getBusinessObject,
                     getImplementationType: getImplementationType,
-                    hideResultVariable: hideResultVariable
+                    hasDmnSupport: isDmnCapable(element),
+                    hasExternalSupport: isExternalCapable(
+                        getBusinessObject(element)
+                    ),
+                    hasServiceTaskLikeSupport: true
                 },
                 translate
             )