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

feature: full support for states in the refactored state machine designer #6169

Merged
merged 9 commits into from
Jan 5, 2024

Conversation

ptyin
Copy link
Member

@ptyin ptyin commented Dec 18, 2023

Ⅰ. Describe what this PR did

Full support for states in the refactored Saga state machine designer

Ⅱ. Does this pull request fix one issue?

fixes #6129

@@ -60,12 +60,12 @@ export function setProperties(businessObject, properties, override) {
export function is(element, target) {
const type = element?.businessObject?.Type || element?.Type || element;

if (target === 'State') {
return type === 'ServiceTask';
if (target === 'Task') {
Copy link
Contributor

Choose a reason for hiding this comment

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

this modification is expect?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. This function is to check the type for an element. For now, I need to know if an element is a ‘Task’ or not, not if it is a 'State'.

@wt-better wt-better merged commit bfad822 into apache:refactor_designer Jan 5, 2024
@slievrly slievrly added this to the 2.1.0 milestone Jan 16, 2024
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.

4 participants