Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
activity3 = 'activity_3'
}
const BPMN_PROCESS_ID = "BPMN_P_DEMO";
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity1);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity2);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity3);
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
const worker = IoC.get(CORE_IDENTIFIER.worker, TAG.camundaBpm);
const cm = IoC.get(CORE_IDENTIFIER.client_manager, TAG.camundaBpm);
// const path = `${process.cwd()}/sample/BPMN_P_DEMO.bpmn`;
// await cm.deployWorkflow(path);
for (let index = 0; index < 1; index++) {
await cm.createWorkflowInstance({
bpmnProcessId: BPMN_PROCESS_ID,
variables: {
amount: 1000,
hello: "world"
}
});
}
(async () => {
enum LOCAL_IDENTIFIER {
activity1 = 'activity_1',
activity2 = 'activity_2',
activity3 = 'activity_3'
}
const BPMN_PROCESS_ID = "BPMN_P_DEMO";
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity1);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity2);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity3);
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
const worker = IoC.get(CORE_IDENTIFIER.worker, TAG.camundaBpm);
const cm = IoC.get(CORE_IDENTIFIER.client_manager, TAG.camundaBpm);
// const path = `${process.cwd()}/sample/BPMN_P_DEMO.bpmn`;
// await cm.deployWorkflow(path);
for (let index = 0; index < 1; index++) {
await cm.createWorkflowInstance({
bpmnProcessId: BPMN_PROCESS_ID,
variables: {
amount: 1000,
const BPMN_PROCESS_ID = "BPMN_P_DEMO";
IoC.bindToObject(tracerService.getTracer(), CORE_IDENTIFIER.tracer);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity1);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity2);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity3);
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
const worker = IoC.get(CORE_IDENTIFIER.worker, TAG.camundaBpm);
const cm = IoC.get(CORE_IDENTIFIER.client_manager, TAG.camundaBpm);
const path = `${ process.cwd() }/sample/BPMN_P_DEMO.bpmn`;
await cm.deployWorkflow(path);
for (let index = 0; index < 1; index++) {
await cm.createWorkflowInstance({
bpmnProcessId: BPMN_PROCESS_ID,
variables: {
amount: 1000,
hello: "world",
// requestInfo: {
// 'vdm-trace-id': 'f78b0a8858ce337a:f78b0a8858ce337a:0:1',
// }
}
}
const BPMN_PROCESS_ID = "BPMN_P_DEMO";
IoC.bindToObject(tracerService.getTracer(), CORE_IDENTIFIER.tracer);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity1);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity2);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity3);
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
const worker = IoC.get(CORE_IDENTIFIER.worker, TAG.camundaBpm);
const cm = IoC.get(CORE_IDENTIFIER.client_manager, TAG.camundaBpm);
const path = `${ process.cwd() }/sample/BPMN_P_DEMO.bpmn`;
await cm.deployWorkflow(path);
for (let index = 0; index < 1; index++) {
await cm.createWorkflowInstance({
bpmnProcessId: BPMN_PROCESS_ID,
variables: {
amount: 1000,
hello: "world",
// requestInfo: {
// 'vdm-trace-id': 'f78b0a8858ce337a:f78b0a8858ce337a:0:1',
// }
(async () => {
enum LOCAL_IDENTIFIER {
activity1 = 'activity_1',
activity2 = 'activity_2',
activity3 = 'activity_3'
}
const BPMN_PROCESS_ID = "BPMN_P_DEMO";
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity1);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity2);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity3);
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
const worker = IoC.get(CORE_IDENTIFIER.worker, TAG.camundaBpm);
const cm = IoC.get(CORE_IDENTIFIER.client_manager, TAG.camundaBpm);
// const path = `${process.cwd()}/sample/BPMN_P_DEMO.bpmn`;
// await cm.deployWorkflow(path);
for (let index = 0; index < 1; index++) {
await cm.createWorkflowInstance({
bpmnProcessId: BPMN_PROCESS_ID,
variables: {
activity2 = 'activity_2',
activity3 = 'activity_3'
}
const BPMN_PROCESS_ID = "BPMN_P_DEMO";
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity1);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity2);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity3);
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
const worker = IoC.get(CORE_IDENTIFIER.worker, TAG.camundaBpm);
const cm = IoC.get(CORE_IDENTIFIER.client_manager, TAG.camundaBpm);
// const path = `${process.cwd()}/sample/BPMN_P_DEMO.bpmn`;
// await cm.deployWorkflow(path);
for (let index = 0; index < 1; index++) {
await cm.createWorkflowInstance({
bpmnProcessId: BPMN_PROCESS_ID,
variables: {
amount: 1000,
hello: "world"
}
});
}
activity3 = 'activity_3'
}
const BPMN_PROCESS_ID = "BPMN_P_DEMO";
IoC.bindToObject(tracerService.getTracer(), CORE_IDENTIFIER.tracer);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity1);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity2);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity3);
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
const worker = IoC.get(CORE_IDENTIFIER.worker, TAG.camundaBpm);
const cm = IoC.get(CORE_IDENTIFIER.client_manager, TAG.camundaBpm);
const path = `${ process.cwd() }/sample/BPMN_P_DEMO.bpmn`;
await cm.deployWorkflow(path);
for (let index = 0; index < 1; index++) {
await cm.createWorkflowInstance({
bpmnProcessId: BPMN_PROCESS_ID,
variables: {
amount: 1000,
hello: "world",
// requestInfo: {
// 'vdm-trace-id': 'f78b0a8858ce337a:f78b0a8858ce337a:0:1',
(async () => {
enum LOCAL_IDENTIFIER {
activity1 = 'activity_1',
activity2 = 'activity_2',
activity3 = 'activity_3'
}
const BPMN_PROCESS_ID = "BPMN_P_DEMO";
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity1);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity2);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity3);
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
const worker = IoC.get(CORE_IDENTIFIER.worker, TAG.camundaBpm);
const cm = IoC.get(CORE_IDENTIFIER.client_manager, TAG.camundaBpm);
// const path = `${process.cwd()}/sample/BPMN_P_DEMO.bpmn`;
// await cm.deployWorkflow(path);
for (let index = 0; index < 1; index++) {
await cm.createWorkflowInstance({
bpmnProcessId: BPMN_PROCESS_ID,
variables: {
amount: 1000,
hello: "world"
activity1 = 'activity_1',
activity2 = 'activity_2',
activity3 = 'activity_3'
}
const BPMN_PROCESS_ID = "BPMN_P_DEMO";
IoC.bindToObject(tracerService.getTracer(), CORE_IDENTIFIER.tracer);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity1);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity2);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity3);
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
const worker = IoC.get(CORE_IDENTIFIER.worker, TAG.camundaBpm);
const cm = IoC.get(CORE_IDENTIFIER.client_manager, TAG.camundaBpm);
const path = `${ process.cwd() }/sample/BPMN_P_DEMO.bpmn`;
await cm.deployWorkflow(path);
for (let index = 0; index < 1; index++) {
await cm.createWorkflowInstance({
bpmnProcessId: BPMN_PROCESS_ID,
variables: {
amount: 1000,
hello: "world",
enum LOCAL_IDENTIFIER {
activity1 = 'activity_1',
activity2 = 'activity_2',
activity3 = 'activity_3'
}
const BPMN_PROCESS_ID = "BPMN_P_DEMO";
IoC.bindToObject(tracerService.getTracer(), CORE_IDENTIFIER.tracer);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity1);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity2);
IoC.bindTo(HelloWorldTask, LOCAL_IDENTIFIER.activity3);
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV2, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 2 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity1, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity2, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
IoC.bindTask(HelloWorldTaskV3, LOCAL_IDENTIFIER.activity3, { bpmnProcessId: BPMN_PROCESS_ID, version: 3 });
const worker = IoC.get(CORE_IDENTIFIER.worker, TAG.camundaBpm);
const cm = IoC.get(CORE_IDENTIFIER.client_manager, TAG.camundaBpm);
const path = `${ process.cwd() }/sample/BPMN_P_DEMO.bpmn`;
await cm.deployWorkflow(path);
for (let index = 0; index < 1; index++) {
await cm.createWorkflowInstance({
bpmnProcessId: BPMN_PROCESS_ID,
variables: {
amount: 1000,