How can I enable "auto checkout" after the reservation has ended.

Jesse12
Mega Contributor

Many users will not take the time to checkout and I don't want those spaces to be unavailable because of this. 

3 REPLIES 3

Jesse12
Mega Contributor

Hello - Can I get some input on this? Should I just open a ticket? This seems like a bug. Most folks will not checkout and it seems like the default is 3 days before the space is released again.

stefanoperinott
ServiceNow Employee
ServiceNow Employee

hi Jesse,

I've created a very simple flow tru flow designer that, when the "state" of a workplace reservation changes into "completed", it updates the reservation record, setting:

- the "check-in state" field to "Checked out"

- the "check out time" field to the same time of the "End" field.

 

See attachments.

 

Hope this helps somehow

Stefano

 

Thomas Wright1
Tera Contributor

It looks like this is a bug in the _notifyCheckin method of the WPRsvCheckinUtilsSNC script include

ThomasWright1_0-1688049522798.png

The state of desk bookings once they have checked in is "in_progress", not "confirmed". So for Desk reservations, this script never checks them out.

 

It's possible to ovveride this by editing the WPRsvCheckinUtils script include, copying the _notifyCheckin method, and editing to add an OR condition for Desk booking in the in_progress state. I haven't done a deep dive into reservations which are confirmed, perhaps that's used for room bookings.

 

@stefanoperinott