This issue has been created
There are 6 updates.
This issue has been moved to XWiki Commons project.
 
 
XWiki Commons / cid:jira-generated-image-avatar-30a001c2-5f0e-4b42-b8b6-ec1ed835b278 XCOMMONS-3161 Open

Allow asking questions on jobs without blocking

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-957c875d-1687-4ccd-b96d-da68c4c33007 Michael Hamann created this issue on 02/Oct/24 10:06
 
Summary: Allow asking questions on jobs without blocking
Issue Type: cid:jira-generated-image-avatar-30a001c2-5f0e-4b42-b8b6-ec1ed835b278 Improvement
Affects Versions: 16.8.0
Assignee: Unassigned
Components: Job
Created: 02/Oct/24 10:06
Priority: cid:jira-generated-image-static-major-2c1d72fc-6c8a-425c-9085-4a15f37d8ea6 Major
Reporter: Michael Hamann
Description:

In some cases, a background job needs to ask a question but could still continue the work in the meantime. This could be because the job can continue other tasks that don't depend on the answer, or, as in the case of XWIKI-22323, that the job just asks the user if they want to continue waiting for something where, while the job doesn't actually continue, the job can automatically dismiss the question when the waiting completed. For this, it would be very useful if questions could be asked asynchronously with a non-blocking method. Technically, there is no real reason for the question asking to be blocking. A new API should be added for this that returns a Future that is completed once the question has been answered.

 
 

6 updates

 
cid:jira-generated-image-avatar-957c875d-1687-4ccd-b96d-da68c4c33007 Changes by Michael Hamann on 02/Oct/24 10:06
 
Version: 16.8.0
Version: 16.8.0
Project: XWiki Platform Commons
Component: Job
Component: Job
Key: XWIKI XCOMMONS - 22539 3161