How to leave 1st If-block and jump into another 2nd if-block after 2 secns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 03:48 PM - edited 05-20-2024 04:45 PM
hi All,
We have 5-if blocks
each If block has 50-lines of code
if(block 1)
{
50 lines
}
if(block 2)
{
50 lines
}
if(block 3)
{
50 lines
}....
..
etc
if block 1 would not be executed with in 2-sec, break block 1 loop, directly jump into block2 to execute block 2 code ,
if block 2 would not be executed with in 2-sec, break block 2 loop, directly jump into block 3 to execute block 3 code....etc. like this ... till end.
is this kind of behavior achievable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 01:36 PM
I do not believe that there is any viable way to check and interrupt a running script, from within the same script. Possibly you could use flow with multiple paths and timers, but given the platforms architecture\structure I don't think that this would produce repeatable results for the time period you have indicated.