Hi,
I'm having trouble with the cycle time changing based on distribution coded in?
I have:
return normal(gettablenum("ProcessTime",getitemtype(item),2),20);
This is assigned to the cylcetime as script. It asks for a normally distributed number in which the Mean value is from a global table of row itemtype.
the problem is....the process doesn't select a different cycletime value for every new flow item, it just keeps processing for the value defined in the global table.
If the average is 50 hours, i need it to sometimes process for 50 hours, other times 60 hours, other times 40 hours etc.
Is it better to assign this code for the onEntry trigger?
Thanks for the assistance.
Bryan