Rock
Rock copied to clipboard
Workflows triggered from Connection Request cannot set group
Prerequisites
- [x] Can you reproduce the problem on a fresh install or the [http://rock.rocksolidchurchdemo.com/ demo site ]()?
- [x] Did you include your Rock version number and [https://github.com/SparkDevNetwork/Rock/wiki/Environment-and-Diagnostics-Information client culture ]() setting?
- [x] Did you [https://github.com/issues?q=is%3Aissue+user%3ASparkDevNetwork+-repo%3ASparkDevNetwork%2FSlack perform a cursory search ]() to see if your bug or enhancement is already reported?
Description
When attempting to set a group through either run lava or Set Attribute through entity nothing is set when the workflow is triggered through settings on the Connection Opportunity Detail.
For example:
A workflow with a single group attribute, works when fired manually
But fails to set any value when triggered from a workflow:
Simplified testing code below. Replace 50 with any valid group Id.
{% group id:'50' -%}
{% assign GroupGuid = group | Property:'Guid' -%}
{% endgroup -%}
{{ GroupGuid }}
Steps to Reproduce
- Use workflow triggers set inside Connection Opportunity Detail.
- [Use test methodology above]
Expected behavior:
The workflow sets the group regardless of what method is used to trigger the workflow.
Actual behavior:
No group is set when triggered. (Other entity values can be set) Also attempted to set group via entity, no error is triggered, but no value is set using {{ Entity.ConnectionOpportunity.ConnectionOpportunityConnectorGroups | First | Property:'Guid' }}
)
Versions
- Rock Version: 5.1-6.1
- Client Culture Setting en-US