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

Make TriggerEvent retnrun WorkflowExecutionContext #14281

Merged
merged 8 commits into from
Jan 30, 2024

Conversation

hyzx86
Copy link
Contributor

@hyzx86 hyzx86 commented Sep 6, 2023

There are scenarios where we would like to be able to get what workflows were triggered, but the current code does not return that

@hyzx86
Copy link
Contributor Author

hyzx86 commented Sep 6, 2023

@MikeAlhayek Could you please review this PR ? thank you

Copy link
Member

@MikeAlhayek MikeAlhayek left a comment

Choose a reason for hiding this comment

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

@hyzx86 we just merged another PR that introduces a change to the same interface. I am okay with your changes since its modifying the same interface in current release.
Please update the the 1.8 release notes (https://github.com/OrchardCMS/OrchardCore/blob/main/src/docs/releases/1.8.0.md) by adding your change to the breaking change under the Workflow Module section. You may add something like this

The method public async Task TriggerEventAsync(string name, IDictionary<string, object> input = null, string correlationId = null, bool isExclusive = false, bool isAlwaysCorrelated = false) was changed to return Task<IEnumerable<WorkflowExecutionContext>> instead.

@hyzx86
Copy link
Contributor Author

hyzx86 commented Oct 22, 2023

@MikeAlhayek Done

@MikeAlhayek
Copy link
Member

@hyzx86 this was one was missed and should have been in 1.8. Can you please move the docs to the 1.9 release notes?

Copy link
Contributor

This pull request has merge conflicts. Please resolve those before requesting a review.

@hyzx86
Copy link
Contributor Author

hyzx86 commented Jan 29, 2024

@MikeAlhayek Done

Copy link
Contributor

This pull request has merge conflicts. Please resolve those before requesting a review.

@MikeAlhayek MikeAlhayek merged commit 3036024 into OrchardCMS:main Jan 30, 2024
4 checks passed
@hyzx86 hyzx86 deleted the UpdateTriggerEvent branch January 31, 2024 03:06
urbanit pushed a commit to urbanit/OrchardCore that referenced this pull request Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants