Skip to content

Conversation

@devmiguelangel
Copy link
Contributor

@devmiguelangel devmiguelangel commented Oct 1, 2025

Implement Conditional Destination Redirect

Solution

  • Implement backend to support extra conditioned redirection rules for a Task.
  • Add to the modeler Inspector the new conditioned redirection rules.
image

How to Test

  • Create a process like:
  • Setup the conditionl redirection rules
  • Note that the last task rules are overwritten by the End Event redirection

Related Tickets & Packages

FOUR-26707


Note

On process updates, assign task.elementDestination when the current activity completes; retain exception handling and redirect.

  • Frontend:
    • src/components/task.vue
      • Process update handling: When event === "ACTIVITY_COMPLETED" for the current tokenId and an elementDestination is provided, set this.task.elementDestination = elementDestination.
      • Error handling: Continue redirecting and emitting error on ACTIVITY_EXCEPTION.

Written by Cursor Bugbot for commit f557fb2. This will update automatically on new commits. Configure here.

devmiguelangel and others added 2 commits September 29, 2025 15:50
FOUR-26713 Make the adjustments required in ScreenBuilder to support the Conditional Destination
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on October 21

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.

@ProcessMaker ProcessMaker deleted a comment from cursor bot Oct 1, 2025
@cypress
Copy link

cypress bot commented Oct 1, 2025

screen-builder    Run #2074

Run Properties:  status check failed Failed #2074  •  git commit 90e0b9de21: FOUR-26707 Implement Conditional Destination Redirect
Project screen-builder
Branch Review feature/FOUR-26707
Run status status check failed Failed #2074
Run duration 43m 46s
Commit git commit 90e0b9de21: FOUR-26707 Implement Conditional Destination Redirect
Committer Miguel Angel
View all properties for this run ↗︎

Test results
Tests that failed  Failures 1
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 17
Tests that did not run due to a failure in a mocha hook  Skipped 7
Tests that passed  Passing 383
View all changes introduced in this branch ↗︎

Tests for review

Failed  tests/e2e/specs/DatePicker.spec.js • 1 failed test • CI - Chrome

View Output

Test Artifacts
Date Picker > Date picker with minDate and maxDate should show the value in Data Preview Test Replay Screenshots

rodriquelca and others added 2 commits November 10, 2025 16:55
FOUR-27077: Conditions are not working when `Display Next Assgined Task` option is selected as condition
@processmaker-sonarqube
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants