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

Http Request run Asynchronously but the workflow got suspended and never return the result #4737

Closed
jordanpedro opened this issue Jan 2, 2024 · 3 comments
Assignees
Labels
elsa 3 This issue is specific to Elsa 3
Milestone

Comments

@jordanpedro
Copy link

Hi, im starting to use Elsa v3 ( i got previous experience with elsa 2.13) and there is something that i have not figured out yet. When i use multiple httprequest Asynchronously( i selected the option run Asynchronously in each http activity ) and try to wait for the result of them all, the workflow got a suspended status and i have not been able to get the result of these multiples http calls

im wondering if it`s a bug or something that im doing wrong. can someone give some help ?

Workflow :
http-async-calls.json

image

@jordanpedro jordanpedro changed the title Http run Asynchronously but the workflow got suspended and never return the result Http Request run Asynchronously but the workflow got suspended and never return the result Jan 2, 2024
@sfmskywalker sfmskywalker added the elsa 3 This issue is specific to Elsa 3 label Jan 2, 2024
@sfmskywalker sfmskywalker added this to the Elsa 3.1 milestone Jan 2, 2024
@sfmskywalker sfmskywalker self-assigned this Jan 2, 2024
@sfmskywalker
Copy link
Member

I can reproduce this behaviour. Investigating.

@sfmskywalker
Copy link
Member

I think that the issue is with synchronising workflow state back from the background job executing the activity, where one version overwrites the other. Will fix.

@sfmskywalker
Copy link
Member

Fixed via 7c632a5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
elsa 3 This issue is specific to Elsa 3
Projects
Status: Done
Development

No branches or pull requests

2 participants