Giter VIP home page Giter VIP logo

Comments (6)

danielgerlag avatar danielgerlag commented on July 18, 2024

Hi,

I'm not sure I understand exactly what you are asking, but have you tried the overloaded .WaitFor method that takes an effective date parameter at the end?

from workflow-core.

hsnuscars avatar hsnuscars commented on July 18, 2024

Yes, I tried with Now, 5 secs ago, and 15 sec ago.
It will be re-triggered by older event if I set it to past time.
Maybe I should set it between the 2 events?

from workflow-core.

danielgerlag avatar danielgerlag commented on July 18, 2024

Have you considered using a unique event key for each iteration (the second parameter where you are passing "0")

from workflow-core.

hsnuscars avatar hsnuscars commented on July 18, 2024

For example, there are 10 or more (not a fixed number) people to vote. Some of them (maybe 6) approval will accept this subject and continue to next step. They will not reply in order, so I should prepare for all response before step end. I understand that I can create multi-workflow and wait for all people to vote, and close unused one when this step finished. But maybe there is another way to do this simply.

from workflow-core.

danielgerlag avatar danielgerlag commented on July 18, 2024

I think the easiest way to implement this currently, would be to have the voting records in an external data store and the workflow event is simply a "poke" for the workflow to check the vote tally in the external data store.

from workflow-core.

hsnuscars avatar hsnuscars commented on July 18, 2024

Cool, seems it cannot be resolved directly but I will try something with this idea. Thanks for your suggestion.

from workflow-core.

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.