-
Notifications
You must be signed in to change notification settings - Fork 2
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
Linting validates script task support for 8.2+ #67
Comments
This will take a bit more time than expected because I need to refactor called-decision-or-task-definition rule. I won't change it to |
So there will be two separate rule types:
|
Another idea: make it work quickly today and make it right later this week. |
A sketch of implementation rule config: const config = {
'1.0': {
'bpmn:ServiceTask': [ TASK_DEFINITION ]
},
'1.1':{
...config['1.0'],
'bpmn:BusinessRuleTask': [ TASK_DEFINITION ],
'bpmn:ScriptTask': [ TASK_DEFINITION ],
'bpmn:SendTask': [ TASK_DEFINITION ]
},
'1.2': {
...config['1.1'],
'bpmn:IntermediateThrowEvent': {
'eventDefinitions': {
'bpmn:MessageEventDefinition': [ TASK_DEFINITION ]
}
}
},
'1.3': {
...config['1.3'],
'bpmn:BusinessRuleTask': [ CALLED_DECISION, TASK_DEFINITION ]
},
'8.0': config['1.3'],
'8.1': config['8.0'],
'8.2': config['8.1']
}; |
@philippfromme pointed out that this sketch implies we cannot have smart error messages like "zeebe:CalledDecision is only supported in Zeebe 1.3". |
Closes #67 BREAKING CHANGES: * Renamed `called-decision-or-task-definition` to `implementation`.
The text was updated successfully, but these errors were encountered: