ruoyi-vue-nocode/ruoyi-ui/ruoyi-bpmnjs/resources/properties-panel/provider/activiti/parts/AsynchronousContinuationProps.js

16 lines
488 B
JavaScript
Raw Normal View History

2022-08-11 16:10:41 +08:00
'use strict';
var getBusinessObject = require('bpmn-js/lib/util/ModelUtil').getBusinessObject,
is = require('bpmn-js/lib/util/ModelUtil').is,
asyncContinuation = require('./implementation/AsyncContinuation');
module.exports = function(group, element, bpmnFactory, translate) {
if (is(element, 'activiti:AsyncCapable')) {
group.entries = group.entries.concat(asyncContinuation(element, bpmnFactory, {
getBusinessObject: getBusinessObject
}, translate));
}
};