Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-deterministic workflow detected, dynamic #527

Open
RonniePitts opened this issue Sep 29, 2024 · 0 comments
Open

Non-deterministic workflow detected, dynamic #527

RonniePitts opened this issue Sep 29, 2024 · 0 comments
Labels

Comments

@RonniePitts
Copy link

RonniePitts commented Sep 29, 2024

I'm looking at making my durable function more config based however hit an issue with Non-deterministic.

Does context.wait_for_external_event support variable for the method or does it need to be hardcoded?

In the below example, steps contains an array list of actions

 for step in steps:
        logger.info(step)
        typeactivity = step["Type"]
        typeparm = step["TypeParm"]
'''

        if (typeactivity=="call_activity"):
           yield context.call_activity(typeparm, payload)
        if (typeactivity=="set_custom_status"):
           yield context.set_custom_status(typeparm)
        if (typeactivity=="wait_for_external_event"):
            waitevent = context.wait_for_external_event(typeparm)
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants