Group Member Triggered Workflow on First Attendance Doesn't Launch When Checking In to Multiple Schedules #5184
Labels
Fixed in v15.2
Fixed in v16.0
Fixed in v16.4
Topic: Event Registration
Related to Rock Event Registration.
Type: Bug
Confirmed bugs or reports that are very likely to be bugs.
[X ] Put an X between the brackets on this line if you have done all of the following:
We have a workflow that is set as a Group Member Workflow on a group type to trigger on first attendance in the group. Our check-in configuration is set to allow people to check into multiple schedules at once. The trigger always fires correctly when the person checks into one (and only one) schedule, but when they check into multiple schedules the workflow trigger usually fires twice, sometimes once, and very occasionally not at all.
Steps to Reproduce
Expected behavior: Logically, one workflow should be triggered, only on the first attendance record added. The worst case for us is when NO workflow is triggered.
Actual behavior: Intermittently two, one or zero workflows are triggered.
Rock Version: 1.13.3.1, but tested on demo, 1.13.4.1, and prealpha, 1.14.xx, and all behaved the same way.
Client Culture Setting: [en-US]
Script to check for attendance records for Ted:
SELECT * FROM [Attendance] a
LEFT OUTER JOIN [PersonAlias] pa ON pa.[Id] = a.[PersonAliasId]
LEFT OUTER JOIN [Person] p ON p.[Id] = pa.[PersonId]
WHERE p.[Id] = 4
Script to delete attendance records for Ted:
DELETE a FROM [Attendance] a
LEFT OUTER JOIN [PersonAlias] pa ON pa.[Id] = a.[PersonAliasId]
LEFT OUTER JOIN [Person] p ON p.[Id] = pa.[PersonId]
WHERE p.[Id] = 4
The text was updated successfully, but these errors were encountered: