-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
When quering process instances, I want to have the option to fetch variables attached to the process instance #2334
Comments
This comment was imported from JIRA and written by user wxKQw7Y What is this name?This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.The outlined feature would be very useful to speed up some important workflows considerably. Thanks for considering this new feature. |
Hi @ThorbenLindhauer , Are you suggesting that you wish to enhance the Get Task List API (Both Post and Get methods) and Get Task API to include Task related variables in its response Regards, |
Hi @Nandanrshenoy, The ticket is supposed to capture both APIs for task and process variables. Unfortunately, that's not clear from the title and the description. Best, |
@yanavasileva, Thanks and Regards, |
@Nandanrshenoy Yes, that will be fine. |
Hi @yanavasileva, ProcessInstanceDto was updated to accommodate a place holder for the variable list. For single instance ProcessInstanceRestServiceImpl--> getProcessInstances( This is how the updated API responses are looking after these updates. |
@yanavasileva, Thanks and Regards, |
@Nandanrshenoy, some parts look ok but there are missing aspects, for example:
I can't quite follow, I am not sure what other input I should provide. |
@yanavasileva,Thanks for your inputs. Will try to incorporate the same. |
This issue was imported from JIRA:
What is this name?
This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.User story
As a developer, I want to have the option to define variables that should be fetched with process instances, so that I do not have to run separate queries.
Background / problem
When having X open user tasks, it takes 3X REST requests to get the variables needed to evaluate and prioritize these user tasks.
i.e. Getting the variables for 100k user tasks currently requires 300k REST requests to get the variables of interest, which is taking a lot of time and strains the system severely.
Customer hint:
if the rest/tast/get-query/ also allowed to choose variable types and variables of interest all the 300K REST requests could be reduced to 1 REST request
AC
Links:
Tasks
The text was updated successfully, but these errors were encountered: