I have been using SRM and have created a resource linked with a function and the function is included in a service with a booking that has allocated the resource which has resulted in a DVE style element being created.
The booking has finished, however the DVE is still present and there doesn't seem to be an option to delete it as it is greyed out. I have also changed the name of the resource since the original booking and updated the function to a new version, however the name on the DVE element has not been updated.
Is there a way of removing these DVE elements after a booking is complete?
hi Mark
The function resource gets linked to the DVE upon creation, so removing the DVE isn't possible I'm afraid.
It is possible however to disable those function DVEs. The ProtocolFunctionManager will - when a certain threshold is reached (ActiveFunctionResourcesThreshold) - disable all function DVEs for resources that aren't booked for a certain period (FunctionHysteresis). The threshold is 100 function DVEs by default. Keep in mind that if a booking is created very close to its start time, there might be a delay in re-enabling the DVE, which could impact the booking's start.
Details about those settings are available in docs. In this Dojo question there's an example on how to easily change those settings.
Let me know if this helps.