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

Waiting activity completion after ExecuteActivityCall #382

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

edmondop
Copy link
Contributor

...

@@ -33,14 +33,14 @@ func ExclusiveChoiceWorkflow(ctx workflow.Context) error {
// choose next activity based on order result
switch orderChoice {
case OrderChoiceApple:
workflow.ExecuteActivity(ctx, orderActivities.OrderApple, orderChoice)
workflow.ExecuteActivity(ctx, orderActivities.OrderApple, orderChoice).Get(ctx, nil)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good change, but we need to handle the errors coming back from these

@edmondop edmondop requested a review from cretz January 23, 2025 19:12
Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cretz cretz merged commit e9168ce into temporalio:main Jan 23, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants