From 1fe4dd6fc99029bbb5236c408b1ee81c8884b976 Mon Sep 17 00:00:00 2001 From: Alexander Puschkin Date: Wed, 6 Aug 2025 11:14:07 +0200 Subject: [PATCH] AAE-36822 Removes showNextTaskCheckbox input for the feature flag (#11066) * Removes showNextTaskCheckbox input Removes the `showNextTaskCheckbox` input from the `UserTaskCloudComponent` and related files. The `showNextTaskCheckbox` input is no longer needed, instead the visibility of the 'Open next task' checkbox will depend on the canCompleteTask() method. This change simplifies the component's API and ensures that the checkbox is always displayed when it should be. * Adds option to open next task after completion Introduces a new checkbox on the task screen that, when checked, automatically navigates the user to the next available task upon completion of the current one. It enhances user experience by streamlining task completion workflows, eliminating the need for manual navigation. * revert changes * review --- .../process-services-cloud/components/screen-cloud.component.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/process-services-cloud/components/screen-cloud.component.md b/docs/process-services-cloud/components/screen-cloud.component.md index d6ea2ca683..05a24b7de0 100644 --- a/docs/process-services-cloud/components/screen-cloud.component.md +++ b/docs/process-services-cloud/components/screen-cloud.component.md @@ -60,10 +60,12 @@ export class YourService extends ScreenRenderingService { | appName | `string` | "" | App id to fetch corresponding form and values. | | canClaimTask | `boolean` | | Boolean informing if a task can be claimed. | | canUnclaimTask | `boolean` | | Boolean informing if a task can be unclaimed. | +| isNextTaskCheckboxChecked | `boolean` | false | Whether the `Open next task` checkbox is checked by default or not. | | processInstanceId | `string` | | Process Instance Id to fetch corresponding data. | | rootProcessInstanceId | `string` | | Root Process Instance Id to fetch corresponding data. | | readOnly | `boolean` | false | Toggle readonly state of the task. | | showCancelButton | `boolean` | true | Toggle rendering of the `Cancel` button. | +| showNextTaskCheckbox | `boolean` | false | Toggle rendering of the `Open next task` checkbox (controlled internally by parent component). | | screenId | `string` | | Screen id to create dynamic component | | taskId | `string` | | Task id to fetch corresponding form and values. | | taskName | `string` | | Name of the task. |