Sebastian Vicencio Posted January 14, 2021 Posted January 14, 2021 Hi! I already know how to determine the expected operation time. The thing is, I want to know how much of that time is left at any given moment, in order to make a decision (to choose which server I should send the following entity). Thanks in advance
cwhitehead Posted January 14, 2021 Posted January 14, 2021 Hi, There is not a direct function to access how much Processing Time is left for an entity in the Processing Station, however you can use a workaround that I have attached in a model. The ability to access the function you are referring to in your post is on our Product Backlog, but not being able to access the direct function makes this difficult to achieve. Once you save off the time remaining in a ModelEntity level State Variable, you can use a separate process to compare the value to the "certain amount" that it could exceed and then perform other steps following that. All the best, Caleb CheckRemainingProcessingTime.spfx 1
MauricioBiolato Posted January 15, 2021 Posted January 15, 2021 Hi Sebastian I've made you an example, hope you find it helpful. Rds. Processing Time Countdown.spfx 1
Sebastian Vicencio Posted January 18, 2021 Author Posted January 18, 2021 Thanks to you both. Anyway, the approach that I understood the most, it was Mauricio's and I found it really useful. 1
Recommended Posts