WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@wachterjohannes
Copy link
Member

Fixes #129

public static function getSubscribedEvents()
{
return [
sprintf('workflow.%s.completed', WorkflowInterface::WORKFLOW_DEFAULT_NAME) => 'onCompleted',
Copy link
Member

Choose a reason for hiding this comment

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

create an issue that this is here hardcoded and we should find a way that this events are also thrown for custom workflows

Copy link
Member Author

Choose a reason for hiding this comment

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

we could hear on workflow.completed and check for the names (but they have to be declared then somehow)

Copy link
Member Author

Choose a reason for hiding this comment

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

do we know all the names of the worklows?

@wachterjohannes wachterjohannes force-pushed the feature/flushed-events branch 2 times, most recently from 94bc27b to 5323396 Compare February 15, 2021 14:48
@niklasnatter niklasnatter removed their request for review January 11, 2023 16:02
@alexander-schranz alexander-schranz changed the base branch from 0.9 to 0.8 November 25, 2024 10:58
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.

Emit an event when a ContentWorkflow transition is flushed

2 participants