Triggering workflows from a Service task #223
Answered
by
ralphhanna
MaheshkumarSundaram
asked this question in
Q&A
-
Hi @ralphhanna, Say I have a Service Task in How to achieve this? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
ralphhanna
Aug 30, 2024
Replies: 2 comments 1 reply
-
the service task would something like this: async DummyService1(input, context) {
context.item.data.service1Result = 'Service1Exec';
let gdt=context.execution.instance.data;
let idt=context.item.data;
console.log('global data:',gdt,'item data',idt);
context.appDelegate.server.engine.start("Buy Used Car",{caseId:gdt.caseId})
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MaheshkumarSundaram
-
In some cases it is the same, but for subprocesses or loops it will be different. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @MaheshkumarSundaram
the service task would something like this: