Hi,
I have a simulation by process flow, 42 tokens create randomly. I want to stop a token until the time of simulation reach 5 am to 23pm. when the time to release reached (e.g. 5 am) token yet stop at a specific block and don't move to next!
my code is:
if (Model.dateTime.hour>5 && Model.dateTime.hour<23)
{
return 1;
}
if(Model.dateTime.hour<=5 || Model.dateTime.hour>=23)
{
return 2;
}
how I can solve this problem
thanks,