-
Notifications
You must be signed in to change notification settings - Fork 242
FOUR-28520 Reassign > The imported process does not list all reassign… #8664
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
base: develop
Are you sure you want to change the base?
Conversation
… user list ## Description When Assignment type=process variable and variable Name (groups) is set with a correct value then when reassign button is pressed, only the process manager is listed. ## Related tickets https://processmaker.atlassian.net/browse/FOUR-28520
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is being reviewed by Cursor Bugbot
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
… to extract user IDs from form data (assignedUsers/assignedGroups variables). Uses Process::getConsolidatedUsers() to get users from groups recursively. Validates array inputs and filters invalid IDs. Includes PHPUnit tests.
|
QA server K8S was successfully deployed https://ci-c42676abcc.engk8s.processmaker.net |
|





… user list
Description
When Assignment type=process variable and variable Name (groups) is set with a correct value then when reassign button is pressed, only the process manager is listed.
Related tickets
https://processmaker.atlassian.net/browse/FOUR-28520
Note
Adds process-variable-based assignee resolution and updates the reassign flow to use it.
UserController@getUsersTaskCountnow handlesassignmentRule='process_variable'using newProcessRequestToken::getUsersFromProcessVariable(form_data)to derive assignees fromassignedUsersandassignedGroups(including recursive group members viaprocess->getConsolidatedUsers).resources/js/tasks/api/index.jsusingPOST /users_task_countwithform_data, removes internal vars, and excludes the current assignee.reassignMixin,TasksPreview.vue, andTaskPreviewAssignment.vuepassformData/currentTaskUserIdand load options via the new API; reassignment supports optional comments.getUsersFromProcessVariable(users, groups, combined, empty, invalid inputs, ID filtering).Written by Cursor Bugbot for commit 7ec8046. This will update automatically on new commits. Configure here.
ci:deploy