Workflow Forms Not Shown When Launched from Bio Block Actions in Certain Circumstances
Description
In 16.4, workflow forms are not being shown when launched from the Person profile Bio Block's actions menu in certain cases. Instead, the message "This Work does not currently require your attention" is shown.
This only seems to happen with a specific pattern of workflow actions occurring prior to the form. This is an obscure bug, but has broken workflows that were known to be working in v13 and v14 and were not modified since time they were known to be working and an upgrade to 16.4 was completed.
There are a few workarounds, including immediately persisting the workflow and redirecting to the workflow entry page with appropriate parameters.
Actual Behavior
Launch an affected workflow from the Bio block.
The "...does not require your attention" message is shown.
Expected Behavior
The workflow form should be presented to the user immediately after launching the workflow from the actions menu.
Steps to Reproduce
- Import this workflow
Workflow Form Test_202405070712.json
- Add the workflow to the actions menu on the person bio block
- Launch the workflow from the person bio block
- Observe the "...does not require your attention" message is shown.
Triggering this bug seems to require the conditionals in the pattern shown in the example workflow. It also seems to be related to use of the Attribute from Entity action. This workflow is a minimal example to reproduce the bug pulled from a much larger workflow.
Issue Confirmation
- [X] Perform a search on the Github Issues to see if your bug or enhancement is already reported.
- [X] Try to reproduce the problem on a fresh install or on the demo site.
Rock Version
16.4
Client Culture Setting
en-US