Hello Dojo Community,
Could someone please clarify the purpose of the ReservationIdToIgnore property in the EligibleResourceContext object?
Specifically, if a reservation instance ID is provided, does this mean that any resources used in that reservation will be excluded from the list of available resources, even if they are technically available? Or does it imply that the reservation instance itself will be ignored, meaning the resources currently in use will not be treated as "booked" and thus can still be considered available?
Thanks in advance for your help!
Hi Andrea,
The ReservationIdToIgnore is explained on the following page: https://docs.dataminer.services/dataminer/Frameworks/SRM/Interacting_with_SRM_using_code/srm_using_resourcemanagerhelper.html?#getting-available-resources
The ReservationIdToIgnore and NodeIdToIgnore properties can be used to exclude an already booked resource. If the TimeRange property was not set on the context, the timing of the ignored booking will also be used to calculate the available resources. This can be useful in scenarios where the available resources for a node you want to swap need to be calculated.
Hopefully this answers your questions.

Hi Tom, many thanks for your reply!