Repository navigation
FOUR-31702 Self-service task with a timer event to complete the request still appears as active - #9080
FOUR-31702 Self-service task with a timer event to complete the request still appears as active#9080devmiguelangel wants to merge 2 commits into
Conversation
PR SummaryLow Risk Overview
Adds feature tests with a self-service + timer boundary BPMN fixture: interrupting timer asserts Reviewed by Cursor Bugbot for commit 5130e66. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
|
QA server K8S was successfully deployed https://tenant-1.ci-37fb4aefb9.engk8s.processmaker.net |
| $token->process_request_id = $token->getInstance()->getKey(); | ||
| $token->data = $token->getInstance()->getDataStore()->getData(); | ||
| // A closed token can no longer be claimed, e.g. when an interrupting boundary event closes an unclaimed self-service task | ||
| if ($token->is_self_service) { |
There was a problem hiding this comment.
@devmiguelangel Instead of force the claim, the self-service task needs to list all the self-service with ACTIVE status (this avoid to show the self-service CLOSED)
Could you check please?
Regards





Issue & Reproduction Steps
Self-service task with a timer event to complete the request still appears as active
Solution
When a boundary timer interrupts an unclaimed self-service task, the token is closed but is_self_service stays 1. Saved searches with is_self_service equal 1 still list it, and charts label it Self Service.
Tokens already closed with is_self_service equal 1 are unchanged. If the boundary path continues to another task instead of ending the request, the data table row updates when the request completes, or on the next periodic sync.
CleanShot.2026-09-28.at.14.43.58.mp4
Related Tickets & Packages
FOUR-31702
https://github.com/ProcessMaker/package-savedsearch/pull/701
Code Review Checklist
ci:package-savedsearch:FOUR-31702
ci:deploy
.