When using the Redirect to Page workflow action and setting the Processing Options to Never continue, the Redirect to Page action itself does not get marked as completed. As a result, when an attempt is made to resume the workflow, it executes the Redirect to Page again and ends up in a loop, never allowing the workflow to actually continue/complete.
Actual Behavior
The Redirect to Page action itself does not get marked as completed. As a result, when an attempt is made to resume the workflow, it executes the Redirect to Page again and ends up in a loop, never allowing the workflow to actually continue/complete.
Expected Behavior
The Redirect to Page action itself gets marked as completed, even when the Processing Options is set to Never continue. Therefore, when an attempt is made to resume the workflow, the next action executes and the workflow continues.
Steps to Reproduce
Create a workflow with 1 Activity and 2 Actions
Action 1: Redirect to Pagehttps://google.com with Processing Options set to Never continue
Action 2: Complete the Workflow
Add the Workflow to a Page
Visit the Page in a browser, which should redirect the browser to https://google.com
Find the WorkflowId of the executed workflow
Visit the page in a browser again, with the query parameter of ?WorkflowId=<WorkflowId from Step 4>. This should resume the workflow
The Workflow will immediately redirect to https://google.com instead of executing Action 2 to complete the workflow.
Issue Confirmation
[X] Perform a search on the Github Issues to see if your bug or enhancement is already reported.
[X] Reproduced the problem on a fresh install or on the demo site.
Description
When using the Redirect to Page workflow action and setting the Processing Options to Never continue, the Redirect to Page action itself does not get marked as completed. As a result, when an attempt is made to resume the workflow, it executes the Redirect to Page again and ends up in a loop, never allowing the workflow to actually continue/complete.
Actual Behavior
The Redirect to Page action itself does not get marked as completed. As a result, when an attempt is made to resume the workflow, it executes the Redirect to Page again and ends up in a loop, never allowing the workflow to actually continue/complete.
Expected Behavior
The Redirect to Page action itself gets marked as completed, even when the Processing Options is set to Never continue. Therefore, when an attempt is made to resume the workflow, the next action executes and the workflow continues.
Steps to Reproduce
?WorkflowId=<WorkflowId from Step 4>
. This should resume the workflowIssue Confirmation
Rock Version
1.16.5.4
Client Culture Setting
en-US