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

Support undefined tasks #10562

Closed
saig0 opened this issue Sep 29, 2022 · 7 comments · Fixed by #10665
Closed

Support undefined tasks #10562

saig0 opened this issue Sep 29, 2022 · 7 comments · Fixed by #10665
Assignees
Labels
area/bpmn-support Marks an issue as related to supporting BPMN symbols hacktoberfest Marks an issue as a candidate to be a Hacktoberfest contribution kind/feature Categorizes an issue or PR as a feature, i.e. new behavior scope/broker Marks an issue or PR to appear in the broker section of the changelog version:8.2.0-alpha1 Marks an issue as being completely or in parts released in 8.2.0-alpha1 version:8.2.0 Marks an issue as being completely or in parts released in 8.2.0

Comments

@saig0
Copy link
Member

saig0 commented Sep 29, 2022

Is your feature request related to a problem? Please describe.
When I start modeling a process, I don't define the types of tasks (i.e. service task, user task, etc.). Initially, all tasks are undefined, also called abstract tasks. Later in the modeling, I will define the types task-by-task.

But I can't deploy my process until all tasks have a supported type.

Describe the solution you'd like

I can deploy a process that contains undefined tasks. For example, the following process:

image

I can create an instance of this process. The process instance can activate and complete the undefined tasks in a pass-through semantic. So, the task is activated and immediately completed without additional logic. Similar to manual tasks.

Describe alternatives you've considered
I use manual tasks instead of undefined tasks. So, I can deploy and execute my process. But on the modeling, I need additional clicks for each task.

Additional context
The undefined task should behave exactly like a manual task.

(BPMN 2.0, chapter 13.2.3, page 430)

image

New contributors could watch the video on how to implement a new BPMN symbol.

@saig0 saig0 added kind/feature Categorizes an issue or PR as a feature, i.e. new behavior scope/broker Marks an issue or PR to appear in the broker section of the changelog area/bpmn-support Marks an issue as related to supporting BPMN symbols hacktoberfest Marks an issue as a candidate to be a Hacktoberfest contribution labels Sep 29, 2022
@remcowesterhoud remcowesterhoud self-assigned this Oct 11, 2022
@nikku
Copy link
Member

nikku commented Oct 11, 2022

Is there any operational differences between manual and abstract tasks?

@nikku
Copy link
Member

nikku commented Oct 11, 2022

Did you already settle on a naming? If not I'd encourage you to call this thing undefined task. This would mirror how we call it in our modeling tools. We can obviously decide to move to "abstract task" as a name. Our research (conducted in the past by @andreasgeier, I cannot find a reference right now) revealed that there is no clear winner in terms of naming (abstract vs. undefined vs. blank).

@remcowesterhoud
Copy link
Contributor

remcowesterhoud commented Oct 11, 2022

That's a valid topic. I was following the BPMN spec where they refer to it as Abstract Task. But if we tend to call it an Undefined Task in other places we should align on that. I think Undefined Task is a bit more descriptive as well. What are your thoughts @saig0?

@saig0
Copy link
Member Author

saig0 commented Oct 11, 2022

I like "undefined task". Let's go for it. 👍

@remcowesterhoud
Copy link
Contributor

Is there any operational differences between manual and abstract tasks?

@nikku Sorry, I missed this question earlier. There is no operational difference between the two of them.

@christian-konrad
Copy link
Contributor

Finally, this resolves soooo much pain, and actually allows us to say that we support "iterative modeling+implementation"!
It is also a huge accelerator for https://github.com/camunda/product-hub/issues/144 (the modeling-only use case), since it allows to start with a strategical model without being punished by 10s of error messages for undefined tasks once you switch to "implement" mode (to build the operational model).

@nikku
Copy link
Member

nikku commented Oct 12, 2022

Agreed upon the name (2022-10-12, #10562 (comment), #10562 (comment)): We call it Undefined Task.

@korthout korthout added the version:8.2.0-alpha1 Marks an issue as being completely or in parts released in 8.2.0-alpha1 label Nov 1, 2022
@npepinpe npepinpe added the version:8.2.0 Marks an issue as being completely or in parts released in 8.2.0 label Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bpmn-support Marks an issue as related to supporting BPMN symbols hacktoberfest Marks an issue as a candidate to be a Hacktoberfest contribution kind/feature Categorizes an issue or PR as a feature, i.e. new behavior scope/broker Marks an issue or PR to appear in the broker section of the changelog version:8.2.0-alpha1 Marks an issue as being completely or in parts released in 8.2.0-alpha1 version:8.2.0 Marks an issue as being completely or in parts released in 8.2.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants