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 servicetask in application process #368

Open
1 of 5 tasks
Tracked by #1502
RonnyB71 opened this issue Dec 4, 2023 · 2 comments
Open
1 of 5 tasks
Tracked by #1502

Support servicetask in application process #368

RonnyB71 opened this issue Dec 4, 2023 · 2 comments
Assignees
Labels
kind/user-story Used for issues that describes functionality for our users.

Comments

@RonnyB71
Copy link
Member

RonnyB71 commented Dec 4, 2023

Description

Currently we do not support service tasks in the application process. Although we do perform tasks as part of the process that could have been solved as a service task, for example generating a PDF. Today the PDF generation is done as part of a exiting a data task. This means that the job of generating a PDF is not visible in the process diagram, nor is it possible to postpone it until all data tasks (if you have multiple) are done and generate one PDF at the end.

Additional Information

The definition of a Service Task as defined in the BPMN 2.0 Spec.

Service Task
A Service Task is a Task that uses some sort of service, which could be a Web service or an automated application.

Tasks

  • Take the current PDF generation, extract it from the process and expose it as a script/service task.
  • Update convert tool to add a PDF task after any data tasks in order to maintain the process as is.

Acceptance Criterias

  • It is possible to add a new PDF task type to the process which triggers the PDF generation code as-is today.
  • It should be possible to add multiple PDF tasks, including chaining them, in the processes
  • The process engine should automatically execute the PDF task and move the process to the next step
@RonnyB71 RonnyB71 added kind/user-story Used for issues that describes functionality for our users. status/draft Status: When you create an issue before you have enough info to properly describe the issue. labels Dec 4, 2023
@tjololo
Copy link
Member

tjololo commented Dec 5, 2023

We also need to think about how we handle errors inside a service task.
Should we rollback to the previous step implicitly or should we require the developer to define a error boundary event with a clear path of where to go if the service task failed. Or the always popular: "both please"
Both please would "rollback" to previous task if no boundary event is defined.

@RonnyB71
Copy link
Member Author

RonnyB71 commented Feb 2, 2024

On the topic of error handling consider #171 and #19

@bjorntore bjorntore moved this to 👷 In Progress in Team Apps Feb 15, 2024
@RonnyB71 RonnyB71 removed the status/draft Status: When you create an issue before you have enough info to properly describe the issue. label Mar 11, 2024
@bjorntore bjorntore moved this from 👷 In Progress to 📈 Todo in Team Apps Mar 18, 2024
@bjorntore bjorntore moved this from 📈 Todo to 👷 In Progress in Team Apps Mar 20, 2024
@bjorntore bjorntore moved this from 👷 In Progress to 📈 Todo in Team Apps Apr 5, 2024
@RonnyB71 RonnyB71 removed the status in Team Apps May 6, 2024
@bjorntore bjorntore moved this to 📈 Todo in Team Apps May 24, 2024
@bjorntore bjorntore moved this from 📈 Todo to 👷 In Progress in Team Apps May 29, 2024
@bjorntore bjorntore changed the title Support service/script task in application process Support servicetask in application process Jun 26, 2024
@bjorntore bjorntore mentioned this issue Sep 4, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/user-story Used for issues that describes functionality for our users.
Projects
Status: ⚠️ Blocked
Development

No branches or pull requests

3 participants