@5minds/node-red-contrib-processcube
Version:
Node-RED nodes for ProcessCube
45 lines (36 loc) • 1.48 kB
HTML
<script type="text/javascript">
RED.nodes.registerType('processdefinition-deploy', {
category: 'ProcessCube',
color: '#02AFD6',
defaults: {
name: { value: '' },
engine: { value: '', type: 'processcube-engine-config' },
},
inputs: 1,
outputs: 1,
icon: 'processdefinition_deploy.svg',
label: function () {
return this.name || 'processdefinition-deploy';
}
});
</script>
<script type="text/html" data-template-name="processdefinition-deploy">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name" />
</div>
<div class="form-row">
<label for="node-input-engine"><i class="fa fa-tag"></i> Engine-URL</label>
<input type="text" id="node-input-engine" placeholder="http://engine:8000" />
</div>
</script>
<script type="text/markdown" data-help-name="processdefinition-deploy">
A node to deploy process definition to the ProcessCube Engine.
## Inputs
: payload (String) : XML of the bpmn file
## Outputs
: payload (String) : XML of the bpmn file
### References
- [The ProcessCube© Developer Network](https://processcube.io) - All documentation for the ProcessCube© platform
- [ProcessCube© LowCode Integration](https://processcube.io/docs/node-red) - LowCode integration in ProcessCube©
</script>