Giter VIP home page Giter VIP logo

Comments (6)

kstan79 avatar kstan79 commented on May 28, 2024

I'm solve using alternative method, which proposed by vscode autocomplete:

//define service task id = "hello-world"
bpmnEngine.AddTaskHandler("hello-world", printContextHandler)

You may update the documentation?

from lib-bpmn-engine.

nitram509 avatar nitram509 commented on May 28, 2024

Hi @kstan79 ,

I just cross-checked this example code.

bpmnEngine.NewTaskHandler().Assignee("assignee").Handler(userTaskHandler())

Using v.0.3.0-beta1 of the library does work fine.

Your snippet bpmnEngine.AddTaskHandler("hello-world", printContextHandler) indicates a very old version.

What version you're using?

from lib-bpmn-engine.

kstan79 avatar kstan79 commented on May 28, 2024

im checkout latest master version.

from lib-bpmn-engine.

nitram509 avatar nitram509 commented on May 28, 2024

im checkout latest master version.

That's strange.
The NewTaskHandler().Assignee()... function in main branch is looking as shown in the previous comment.
I wonder how your code AddTaskHandler("hello-world", printContextHandler) can even compile without error?

There must be some difference. What do we oversee?

from lib-bpmn-engine.

kstan79 avatar kstan79 commented on May 28, 2024

oh, i know the reason. most probably i'm create new go project with direct import remote package. no check out source code

from lib-bpmn-engine.

eriknyk avatar eriknyk commented on May 28, 2024

@kstan79 for latest 0.3.0-beta2

go get github.com/nitram509/lib-bpmn-engine/pkg/[email protected]

Should enough!

from lib-bpmn-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.