-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Conversation
85f59ea
to
0f033d2
Compare
@@ -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') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this modification is expect?
There was a problem hiding this comment.
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'.
Ⅰ. 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