BEMADEV / Room-Management

1 stars 2 forks source link

Reservation Updated Workflows Not Fired When Resources or Locations are Updated #36

Closed billdeitrick closed 6 months ago

billdeitrick commented 6 months ago

Please go through all the tasks below

Please provide a brief description of the problem. Please do not forget to attach the relevant screenshots from your side.

When resources or locations are updated on a reservation, without any other changes being made to that reservation, workflows configured to run with the Reservation Updated workflow trigger are not fired.

Snag_1ef4b49

Expected Behavior

Workflow triggers for the "Reservation Updated" trigger should fire the attached workflow when location or resource changes are made, even if no other properties on the reservation are updated.

Actual Behavior

Reservation Updated workflow triggers are never fired if only location or resource changes are made to a reservation (adding or removing).

Steps to Reproduce

  1. Create a new reservation without any locations
  2. Ensure the new reservation becomes approved
  3. Add a location to the new reservation
  4. Verify that Reservation Updated triggered workflows are never fired

Rock Version

1.16.4.4

Plugin Version

2.4.7.14

Client Culture Setting

en-US

tbunney commented 6 months ago

I am also having this issue, but with resources. When someone adds a new resource to the approved reservation, no emails are sent for the resource person to approve, and they don't even have a place to approve. Only super admins can approve.

tcavaletto commented 6 months ago

Fixed issue