SparkDevNetwork / Rock

An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.

Home Page:http://www.rockrms.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'Redirect to Page' workflow action doesn't complete itself when set to 'Never continue'

byrdley20 opened this issue · comments

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

  1. Create a workflow with 1 Activity and 2 Actions
    • Action 1: Redirect to Page https://google.com with Processing Options set to Never continue
    • Action 2: Complete the Workflow
  2. Add the Workflow to a Page
  3. Visit the Page in a browser, which should redirect the browser to https://google.com
  4. Find the WorkflowId of the executed workflow
  5. Visit the page in a browser again, with the query parameter of ?WorkflowId=<WorkflowId from Step 4>. This should resume the workflow
  6. The Workflow will immediately redirect to https://google.com instead of executing Action 2 to complete the workflow.

Issue Confirmation

  • Perform a search on the Github Issues to see if your bug or enhancement is already reported.
  • Reproduced the problem on a fresh install or on the demo site.

Rock Version

1.16.5.4

Client Culture Setting

en-US