Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step Status Change Workflow Exception #6173

Open
2 tasks done
stevelipinski opened this issue Feb 4, 2025 · 0 comments
Open
2 tasks done

Step Status Change Workflow Exception #6173

stevelipinski opened this issue Feb 4, 2025 · 0 comments
Labels
Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs.

Comments

@stevelipinski
Copy link

Description

When a Step is configured with a Status Change Workflow, and that workflow is not automatically persisted - an exception is thrown each time the Workflow is fired by the step.
Note: Workflow still appears to have been run.

Actual Behavior

Step Configured with Status Change-based Workflow. Workflow does not have Automatically Persist checked. Exception is thrown when Step fires off the workflow:
LaunchStepChangeWorkflows failed. Workflow instance could not be created [WorkflowName=Status Changed].

Note: Workflow still appears to have been run.

Expected Behavior

  • If a Persisted workflow is required, it should minimally be documented, but also prevented from being configured. Or, a warning box of the same when the user attempts to configure the Step workflow
  • No exceptions should be thrown, it should be handled properly and logged or prevent user from configuring as such

Steps to Reproduce

LaunchStepChangeWorkflows failed. Workflow instance could not be created [WorkflowName=Status Changed].

Note: Workflow still appears to have been run. Landing Page WF in the above steps may not be the best to determine if the WF is run since there is no other evidence - a different WF may be needed to test that, but on our instance, the WF does seem to accomplish what it's coded to do.

As a workaround, we have enabled Automatically Persist on all or Step-triggered WFs.

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

16.6, 16.2

Client Culture Setting

en-US

@sparkdevnetwork-service sparkdevnetwork-service added Type: Bug Confirmed bugs or reports that are very likely to be bugs. Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs.
Projects
None yet
Development

No branches or pull requests

2 participants