camunda-bpmn-js 5.4.0 → 5.4.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.
|
@@ -138103,12 +138103,12 @@
|
|
|
138103
138103
|
*
|
|
138104
138104
|
* @param {ProcessVariable} variable
|
|
138105
138105
|
* @param {djs.model.Base} origin
|
|
138106
|
-
* @returns {
|
|
138106
|
+
* @returns {string}
|
|
138107
138107
|
*/
|
|
138108
138108
|
function getScriptExpression(variable, origin) {
|
|
138109
138109
|
const script = getExtensionElementsList(origin, 'zeebe:Script')[0];
|
|
138110
138110
|
|
|
138111
|
-
if (!script) {
|
|
138111
|
+
if (!script || !script.expression) {
|
|
138112
138112
|
return;
|
|
138113
138113
|
}
|
|
138114
138114
|
|