mohmed Shaikh Posted January 25, 2021 Share Posted January 25, 2021 Is there any way to find the cumulative off-shift time of any server anytime during the simulation run? Thanks in advance. Link to comment Share on other sites More sharing options...
mohmed Shaikh Posted January 25, 2021 Author Share Posted January 25, 2021 Status label can capture the offshift time with expression - ResourceState.TotalTime(4) But same can't be assigned to a State variable of type Real through the Process. Please help. Link to comment Share on other sites More sharing options...
cwhitehead Posted January 25, 2021 Share Posted January 25, 2021 Hi Mohmed, You are able to assign ServerInstance.ResourceState.TotalTime(4) to a Real State through an Add-On Process. I have attached a model illustrating this. Note: The Notify step in both the OnRunInitialized and OnRunEnding Add-On Processes are used as a verification method. All the best, Caleb CaptureTotalOffShiftTime.spfx Link to comment Share on other sites More sharing options...
Recommended Posts