camunda-bpmn-js 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/camunda-cloud-modeler.development.js +174 -97
- package/dist/camunda-cloud-modeler.production.min.js +7 -7
- package/lib/base/Modeler.d.ts +15 -15
- package/lib/base/NavigatedViewer.d.ts +2 -2
- package/lib/base/Viewer.d.ts +2 -2
- package/lib/camunda-cloud/ElementTemplatesValidator.d.ts +1 -1
- package/lib/camunda-cloud/Modeler.d.ts +3 -3
- package/lib/camunda-cloud/NavigatedViewer.d.ts +3 -3
- package/lib/camunda-cloud/Viewer.d.ts +3 -3
- package/lib/camunda-cloud/features/rules/BpmnRules.d.ts +32 -32
- package/lib/camunda-cloud/features/rules/index.d.ts +6 -6
- package/lib/camunda-cloud/util/commonModules.d.ts +9 -9
- package/lib/camunda-platform/Modeler.d.ts +3 -3
- package/lib/camunda-platform/NavigatedViewer.d.ts +5 -5
- package/lib/camunda-platform/Viewer.d.ts +5 -5
- package/lib/camunda-platform/util/commonModules.d.ts +9 -9
- package/lib/util/ExtensionElementsUtil.d.ts +24 -24
- package/package.json +2 -2
|
@@ -118768,7 +118768,8 @@
|
|
|
118768
118768
|
feel: 'optional',
|
|
118769
118769
|
getValue,
|
|
118770
118770
|
setValue,
|
|
118771
|
-
debounce
|
|
118771
|
+
debounce,
|
|
118772
|
+
tooltip: translate('Specifies the number of times the job is retried when a worker signals failure. The default is three.')
|
|
118772
118773
|
});
|
|
118773
118774
|
}
|
|
118774
118775
|
|
|
@@ -119835,159 +119836,235 @@
|
|
|
119835
119836
|
const TooltipProvider = {
|
|
119836
119837
|
'group-assignmentDefinition': element => {
|
|
119837
119838
|
const translate = useService('translate');
|
|
119838
|
-
return o$3("
|
|
119839
|
-
|
|
119840
|
-
|
|
119841
|
-
|
|
119842
|
-
|
|
119843
|
-
|
|
119839
|
+
return o$3("div", {
|
|
119840
|
+
children: [translate('Define who the task is assigned to. One or all of the following attributes can be specified simultaneously. '), o$3("a", {
|
|
119841
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/user-tasks/#assignments",
|
|
119842
|
+
target: "_blank",
|
|
119843
|
+
rel: "noopener",
|
|
119844
|
+
title: translate('User task documentation'),
|
|
119845
|
+
children: translate('Learn more.')
|
|
119846
|
+
})]
|
|
119844
119847
|
});
|
|
119845
119848
|
},
|
|
119846
119849
|
'group-condition': element => {
|
|
119847
119850
|
const translate = useService('translate');
|
|
119848
|
-
return o$3("
|
|
119849
|
-
|
|
119850
|
-
|
|
119851
|
-
|
|
119852
|
-
|
|
119853
|
-
|
|
119851
|
+
return o$3("div", {
|
|
119852
|
+
children: [translate('Define a boolean condition expression that defines when this flow is taken. '), o$3("a", {
|
|
119853
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/exclusive-gateways/#conditions",
|
|
119854
|
+
target: "_blank",
|
|
119855
|
+
rel: "noopener",
|
|
119856
|
+
title: translate('Conditions documentation'),
|
|
119857
|
+
children: translate('Learn how to define conditions.')
|
|
119858
|
+
})]
|
|
119854
119859
|
});
|
|
119855
119860
|
},
|
|
119856
119861
|
'group-businessRuleImplementation': element => {
|
|
119857
119862
|
const translate = useService('translate');
|
|
119858
|
-
return o$3("
|
|
119859
|
-
|
|
119860
|
-
|
|
119861
|
-
|
|
119862
|
-
|
|
119863
|
-
|
|
119863
|
+
return o$3("div", {
|
|
119864
|
+
children: [translate('Evaluate a business rule, for example a DMN. To add a custom implementation, use a job worker. '), o$3("a", {
|
|
119865
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#defining-a-task",
|
|
119866
|
+
target: "_blank",
|
|
119867
|
+
rel: "noopener",
|
|
119868
|
+
title: translate('Business rule task documentation'),
|
|
119869
|
+
children: translate('Learn more.')
|
|
119870
|
+
})]
|
|
119871
|
+
});
|
|
119872
|
+
},
|
|
119873
|
+
'group-scriptImplementation': element => {
|
|
119874
|
+
const translate = useService('translate');
|
|
119875
|
+
return o$3("div", {
|
|
119876
|
+
children: [translate('Implement a script task using an inline FEEL expression. To add a custom implementation, use a job worker. '), o$3("a", {
|
|
119877
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/script-tasks/#defining-a-script-task",
|
|
119878
|
+
target: "_blank",
|
|
119879
|
+
rel: "noopener",
|
|
119880
|
+
title: translate('Script task documentation'),
|
|
119881
|
+
children: translate('Learn more.')
|
|
119882
|
+
})]
|
|
119864
119883
|
});
|
|
119865
119884
|
},
|
|
119866
119885
|
'group-form': element => {
|
|
119867
119886
|
const translate = useService('translate');
|
|
119868
|
-
return o$3("
|
|
119869
|
-
|
|
119870
|
-
|
|
119871
|
-
|
|
119872
|
-
|
|
119873
|
-
|
|
119887
|
+
return o$3("div", {
|
|
119888
|
+
children: [translate('Embed a form created with the Camunda Forms editor. To associate a custom form, application, or URL to the user task, specify a form key. '), o$3("a", {
|
|
119889
|
+
href: "https://docs.camunda.io/docs/guides/utilizing-forms/#connect-your-form-to-a-bpmn-diagram",
|
|
119890
|
+
target: "_blank",
|
|
119891
|
+
rel: "noopener",
|
|
119892
|
+
title: translate('User task form documentation'),
|
|
119893
|
+
children: translate('Learn more.')
|
|
119894
|
+
})]
|
|
119874
119895
|
});
|
|
119875
119896
|
},
|
|
119876
119897
|
'group-message': element => {
|
|
119877
119898
|
const translate = useService('translate');
|
|
119878
119899
|
if (is$6(element, 'bpmn:ReceiveTask')) {
|
|
119879
|
-
return o$3("
|
|
119880
|
-
|
|
119881
|
-
|
|
119882
|
-
|
|
119883
|
-
|
|
119884
|
-
|
|
119900
|
+
return o$3("div", {
|
|
119901
|
+
children: [translate('Define the name of the message (e.g. '), o$3("code", {
|
|
119902
|
+
children: "Money collected"
|
|
119903
|
+
}), translate(') and the '), o$3("code", {
|
|
119904
|
+
children: "correlationKey"
|
|
119905
|
+
}), translate(' expression (e.g. '), o$3("code", {
|
|
119906
|
+
children: "= orderId"
|
|
119907
|
+
}), translate(')'), translate(' to subscribe to. '), translate('Learn more how to '), o$3("a", {
|
|
119908
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/send-tasks",
|
|
119909
|
+
target: "_blank",
|
|
119910
|
+
rel: "noopener",
|
|
119911
|
+
title: translate('Send task documentation'),
|
|
119912
|
+
children: translate('send ')
|
|
119913
|
+
}), translate('and '), o$3("a", {
|
|
119914
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/receive-tasks",
|
|
119915
|
+
target: "_blank",
|
|
119916
|
+
rel: "noopener",
|
|
119917
|
+
title: translate('Receive task documentation'),
|
|
119918
|
+
children: translate('receive messages. ')
|
|
119919
|
+
})]
|
|
119885
119920
|
});
|
|
119886
119921
|
}
|
|
119887
|
-
return o$3("
|
|
119888
|
-
|
|
119889
|
-
|
|
119890
|
-
|
|
119891
|
-
|
|
119892
|
-
|
|
119922
|
+
return o$3("div", {
|
|
119923
|
+
children: [translate('Define the name of the message (e.g. '), o$3("code", {
|
|
119924
|
+
children: "Money collected"
|
|
119925
|
+
}), translate(') and the '), o$3("code", {
|
|
119926
|
+
children: "correlationKey"
|
|
119927
|
+
}), translate(' expression (e.g. '), o$3("code", {
|
|
119928
|
+
children: "= orderId"
|
|
119929
|
+
}), translate(')'), translate(' to subscribe to. '), o$3("a", {
|
|
119930
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/message-events/#messages",
|
|
119931
|
+
target: "_blank",
|
|
119932
|
+
rel: "noopener",
|
|
119933
|
+
title: translate('Message event documentation'),
|
|
119934
|
+
children: translate('Learn more.')
|
|
119935
|
+
})]
|
|
119893
119936
|
});
|
|
119894
119937
|
},
|
|
119895
119938
|
'group-calledElement': element => {
|
|
119896
119939
|
const translate = useService('translate');
|
|
119897
|
-
return o$3("
|
|
119898
|
-
|
|
119899
|
-
|
|
119900
|
-
|
|
119901
|
-
|
|
119902
|
-
|
|
119940
|
+
return o$3("div", {
|
|
119941
|
+
children: [translate('Define the ID of the process to call (e.g. '), " ", o$3("code", {
|
|
119942
|
+
children: "shipping-process"
|
|
119943
|
+
}), translate(' or '), o$3("code", {
|
|
119944
|
+
children: "= \"shipping-\" + tenantId"
|
|
119945
|
+
}), " ", translate('). '), o$3("a", {
|
|
119946
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/call-activities/",
|
|
119947
|
+
target: "_blank",
|
|
119948
|
+
rel: "noopener",
|
|
119949
|
+
title: translate('Call activity documentation'),
|
|
119950
|
+
children: translate('Learn more.')
|
|
119951
|
+
})]
|
|
119903
119952
|
});
|
|
119904
119953
|
},
|
|
119905
119954
|
'group-taskDefinition': element => {
|
|
119906
119955
|
const translate = useService('translate');
|
|
119907
119956
|
if (is$6(element, 'bpmn:ServiceTask')) {
|
|
119908
|
-
return o$3("
|
|
119909
|
-
|
|
119910
|
-
|
|
119911
|
-
|
|
119912
|
-
|
|
119913
|
-
|
|
119957
|
+
return o$3("div", {
|
|
119958
|
+
children: [translate('Specify which job workers handle the task work to execute a service (e.g. '), o$3("code", {
|
|
119959
|
+
children: "order-items"
|
|
119960
|
+
}), translate('). '), o$3("a", {
|
|
119961
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/service-tasks",
|
|
119962
|
+
target: "_blank",
|
|
119963
|
+
rel: "noopener",
|
|
119964
|
+
title: translate('Service task documentation'),
|
|
119965
|
+
children: translate('Learn more.')
|
|
119966
|
+
})]
|
|
119914
119967
|
});
|
|
119915
119968
|
}
|
|
119916
119969
|
if (is$6(element, 'bpmn:BusinessRuleTask')) {
|
|
119917
|
-
return o$3("
|
|
119918
|
-
|
|
119919
|
-
|
|
119920
|
-
|
|
119921
|
-
|
|
119922
|
-
|
|
119970
|
+
return o$3("div", {
|
|
119971
|
+
children: [translate('Specify which job workers handle the task work to evaluate business rules. '), o$3("a", {
|
|
119972
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#job-worker-implementation",
|
|
119973
|
+
target: "_blank",
|
|
119974
|
+
rel: "noopener",
|
|
119975
|
+
title: translate('Business rule task documentation'),
|
|
119976
|
+
children: translate('Learn more.')
|
|
119977
|
+
})]
|
|
119923
119978
|
});
|
|
119924
119979
|
}
|
|
119925
119980
|
if (is$6(element, 'bpmn:ScriptTask')) {
|
|
119926
|
-
return o$3("
|
|
119927
|
-
|
|
119928
|
-
|
|
119929
|
-
|
|
119930
|
-
|
|
119931
|
-
|
|
119981
|
+
return o$3("div", {
|
|
119982
|
+
children: [translate('Specify which job workers handle the task work to execute a script. '), o$3("a", {
|
|
119983
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/script-tasks/#defining-a-task",
|
|
119984
|
+
target: "_blank",
|
|
119985
|
+
rel: "noopener",
|
|
119986
|
+
title: translate('Script task documentation'),
|
|
119987
|
+
children: translate('Learn more.')
|
|
119988
|
+
})]
|
|
119932
119989
|
});
|
|
119933
119990
|
}
|
|
119934
119991
|
if (is$6(element, 'bpmn:SendTask')) {
|
|
119935
|
-
return o$3("
|
|
119936
|
-
|
|
119937
|
-
|
|
119938
|
-
|
|
119939
|
-
|
|
119940
|
-
|
|
119992
|
+
return o$3("div", {
|
|
119993
|
+
children: [translate('Specify which job workers handle the task work to send a message (e.g. '), o$3("code", {
|
|
119994
|
+
children: "kafka"
|
|
119995
|
+
}), translate(' or '), o$3("code", {
|
|
119996
|
+
children: "mail"
|
|
119997
|
+
}), translate('). '), o$3("a", {
|
|
119998
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/send-tasks/#defining-a-task",
|
|
119999
|
+
target: "_blank",
|
|
120000
|
+
rel: "noopener",
|
|
120001
|
+
title: translate('Send task documentation'),
|
|
120002
|
+
children: translate('Learn more.')
|
|
120003
|
+
})]
|
|
119941
120004
|
});
|
|
119942
120005
|
}
|
|
119943
120006
|
if (is$6(element, 'bpmn:ThrowEvent')) {
|
|
119944
|
-
return o$3("
|
|
119945
|
-
|
|
119946
|
-
|
|
119947
|
-
|
|
119948
|
-
|
|
119949
|
-
|
|
120007
|
+
return o$3("div", {
|
|
120008
|
+
children: [translate('Specify which job workers handle the event work. '), o$3("a", {
|
|
120009
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/message-events/#message-throw-events",
|
|
120010
|
+
target: "_blank",
|
|
120011
|
+
rel: "noopener",
|
|
120012
|
+
title: translate('Message throw event documentation'),
|
|
120013
|
+
children: translate('Learn more.')
|
|
120014
|
+
})]
|
|
119950
120015
|
});
|
|
119951
120016
|
}
|
|
119952
120017
|
},
|
|
119953
120018
|
'group-multiInstance': element => {
|
|
119954
120019
|
const translate = useService('translate');
|
|
119955
|
-
return o$3("
|
|
119956
|
-
|
|
119957
|
-
|
|
119958
|
-
|
|
119959
|
-
|
|
119960
|
-
|
|
120020
|
+
return o$3("div", {
|
|
120021
|
+
children: [translate('Execute this task for each element of a given collection. '), o$3("br", {}), translate('Define an input collection expression that defines the collection to iterate over (e.g. '), o$3("code", {
|
|
120022
|
+
children: "= items"
|
|
120023
|
+
}), translate('). '), translate('To collect the output define the output collection and the output element expressions. '), o$3("a", {
|
|
120024
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/multi-instance/#defining-the-collection-to-iterate-over",
|
|
120025
|
+
target: "_blank",
|
|
120026
|
+
rel: "noopener",
|
|
120027
|
+
title: translate('Multi instance documentation'),
|
|
120028
|
+
children: translate('Learn more.')
|
|
120029
|
+
})]
|
|
119961
120030
|
});
|
|
119962
120031
|
},
|
|
119963
120032
|
'group-error': element => {
|
|
119964
120033
|
const translate = useService('translate');
|
|
119965
|
-
return o$3("
|
|
119966
|
-
|
|
119967
|
-
|
|
119968
|
-
|
|
119969
|
-
|
|
119970
|
-
|
|
120034
|
+
return o$3("div", {
|
|
120035
|
+
children: [translate('Define an error code (e.g. '), o$3("code", {
|
|
120036
|
+
children: "order-not-found"
|
|
120037
|
+
}), translate('). '), o$3("a", {
|
|
120038
|
+
href: "https://docs.camunda.io/docs/components/modeler/bpmn/error-events/#defining-the-error",
|
|
120039
|
+
target: "_blank",
|
|
120040
|
+
rel: "noopener",
|
|
120041
|
+
title: translate('Error event documentation'),
|
|
120042
|
+
children: translate('Learn more.')
|
|
120043
|
+
})]
|
|
119971
120044
|
});
|
|
119972
120045
|
},
|
|
119973
120046
|
'group-inputs': element => {
|
|
119974
120047
|
const translate = useService('translate');
|
|
119975
|
-
return o$3("
|
|
119976
|
-
|
|
119977
|
-
|
|
119978
|
-
|
|
119979
|
-
|
|
119980
|
-
|
|
120048
|
+
return o$3("div", {
|
|
120049
|
+
children: [translate('Create a new local variable in the scope of this task. '), o$3("a", {
|
|
120050
|
+
href: "https://docs.camunda.io/docs/components/concepts/variables/#input-mappings",
|
|
120051
|
+
target: "_blank",
|
|
120052
|
+
rel: "noopener",
|
|
120053
|
+
title: translate('Input mappings documentation'),
|
|
120054
|
+
children: translate('Learn more.')
|
|
120055
|
+
})]
|
|
119981
120056
|
});
|
|
119982
120057
|
},
|
|
119983
120058
|
'group-outputs': element => {
|
|
119984
120059
|
const translate = useService('translate');
|
|
119985
|
-
return o$3("
|
|
119986
|
-
|
|
119987
|
-
|
|
119988
|
-
|
|
119989
|
-
|
|
119990
|
-
|
|
120060
|
+
return o$3("div", {
|
|
120061
|
+
children: [translate('Customize how result variables are merged into the global scope of the process instance. '), o$3("a", {
|
|
120062
|
+
href: "https://docs.camunda.io/docs/components/concepts/variables/#output-mappings",
|
|
120063
|
+
target: "_blank",
|
|
120064
|
+
rel: "noopener",
|
|
120065
|
+
title: translate('Output mappings documentation'),
|
|
120066
|
+
children: translate('Learn more.')
|
|
120067
|
+
})]
|
|
119991
120068
|
});
|
|
119992
120069
|
}
|
|
119993
120070
|
};
|