Jump to content

Resources stop working after all entities are disposed


Nadine
 Share

Recommended Posts

Hello,


my resources follow a work schedule, they work from 7-23. Now I want them to continue working after 23 if there are entities left in the system. When these entities are disposed my resources can stop. Is there any possibility to do so?


Regards


Nadine

Link to comment
Share on other sites

You will need to change the CurrentCapacity of your resource manually based on some condition.


For example, you might use the Off Shift add-on process trigger on a server. Within that process you might have a Decide step to determine if it should continue working, Followed by a Assign step to set the capacity back to 1.


In the same process or elsewhere, you would need to put in some logic on when the shift should be ended. It could be as simple as Delay 30 minutes, then Assign capacity back to 0 (off shift). Or it could be more sophisticated.

Link to comment
Share on other sites

×
×
  • Create New...