Skip to content

Triggering workflows from a Service task #223

Discussion options

You must be logged in to vote

Hi @MaheshkumarSundaram

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})
        
    }

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@MaheshkumarSundaram
Comment options

Answer selected by MaheshkumarSundaram
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants