FOUR-30113: Interstitial screen keeps loading with scripts between form tasks with self service and group assignment#1906
Open
eiresendez wants to merge 3 commits intodevelopfrom
Open
FOUR-30113: Interstitial screen keeps loading with scripts between form tasks with self service and group assignment#1906eiresendez wants to merge 3 commits intodevelopfrom
eiresendez wants to merge 3 commits intodevelopfrom
Conversation
screen-builder
|
||||||||||||||||||||||||||||
| Project |
screen-builder
|
| Branch Review |
defect/FOUR-30113
|
| Run status |
|
| Run duration | 09m 44s |
| Commit |
|
| Committer | Eleazar Resendez |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
19
|
|
|
0
|
|
|
393
|
| View all changes introduced in this branch ↗︎ | |
|
|
QA server K8S was successfully deployed https://ci-40377ccf4c.engk8s.processmaker.net |
Contributor
Author
solution.mov |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Issue & Reproduction Steps
Expected behavior:
When the interstitial cannot find a next active task for the current user, but there is still an active task in the request for another user/group, it should stop waiting and take the user back to the request instead of staying in the interstitial forever.
Actual behavior:
With a flow like
Start Event -> FT-A (self service / Requesters) -> Script Task -> FT-B, the start-event interstitial keeps showing "We're getting the next task for you..." forever foradmin, even though the request already has an active self-service task that exists in the background and is not claimable by the current user.Solution
/requests/{requestId}instead of waiting forever.redirectToTask+userCanClaimpaths.Scope note:
This PR is intentionally scoped to the reproduced interstitial fallback issue above. It does not attempt to infer claimability from the second unfiltered lookup. If FOUR-30113 needs that broader behavior, it should be handled in a follow-up with explicit backend/API support.
How to Test
Test the steps above
Manual validation used for this proposed fix:
Start Event -> FT-A -> Script Task -> FT-B.FT-Aas self-service for a group the current user does not belong to.Related Tickets & Packages
Code Review Checklist
ci:deploy