What happens when we run as whoever started the process and run as whoever designed this process model?
Answer
When we select Run as whoever started the Process (Process Initiator) then that node will be executed with Initiator permission.
When we select Whoever designed the Process model (Process Designer) then that node will be executed with the permission of user who last publishes the process model.
In Event Booking Application, If the Event is associated with Hotel Reservation service, then Event Manager initiates the Hotel Booking Process which includes sending an email to Hotel Staff for Rooms Request.
So, in this scenario if we select Run as whoever started the Process then Send Email smart service will throw an error because Event Manager doesn’t have permission to view Hotel Staff group.
So, we need to select Whoever designed the Process model then Send Email smart service node will execute.