d4a53d22-0285-4e12-b7f3-5311389bc9c1
a01209799
Signavio
default
stopped
DefaultHandlerWrapper
at
2
2
15
14
2
53
http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php
https://emjshbmbnx.localtunnel.me/processid
https://emjshbmbnx.localtunnel.me/runnerid
https://emjshbmbnx.localtunnel.me/startingblock
https://emjshbmbnx.localtunnel.me/trainrunning
https://emjshbmbnx.localtunnel.me/runtestrun
https://emjshbmbnx.localtunnel.me/savetestrun
https://emjshbmbnx.localtunnel.me/startingnumber
https://emjshbmbnx.localtunnel.me/estimate
https://emjshbmbnx.localtunnel.me/saveestimate
https://emjshbmbnx.localtunnel.me/hometonightrun
https://emjshbmbnx.localtunnel.me/worktonightrun
https://emjshbmbnx.localtunnel.me/startnightrun
https://emjshbmbnx.localtunnel.me/run
https://emjshbmbnx.localtunnel.me/drink
https://emjshbmbnx.localtunnel.me/calculate
call :a16, :processid, parameters: { :label => "Set up process id", :method => :get, :arguments => nil }, finalize: <<-END
data.pid=result
END
call :a15, :runnerid, parameters: { :label => "Assign runner id", :method => :post, :arguments => [⭐(:name => :pid, :value => data.pid)] }, finalize: <<-END
data.rid=result
END
call :a12, :startingblock, parameters: { :label => "Select starting block", :method => :get, :arguments => [⭐(:name => :pid, :value => data.pid)] }, finalize: <<-END
data.startingblock=result
END
loop post_test{23 > 25} do
call :a11, :trainrunning, parameters: { :label => "Train running", :method => :get, :arguments => [⭐(:name => :pid, :value => data.pid)] }
call :a13, :runtestrun, parameters: { :label => "Run 5km measured run", :method => :get, :arguments => [⭐(:name => :pid, :value => data.pid)] }, finalize: <<-END
data.testruntime=result
END
call :a14, :savetestrun, parameters: { :label => "Save time testrun", :method => :post, :arguments => [⭐(:name => :pid, :value => data.pid), ⭐(:name => :testrun, :value => data.testruntime)] }
end
call :a3, :startingnumber, parameters: { :label => "Get starting number", :method => :post, :arguments => [⭐(:name => :pid, :value => data.pid)] }, finalize: <<-END
data.startingnumber=result
END
call :a2, :estimate, parameters: { :label => "Estimate time to run", :method => :get, :arguments => [⭐(:name => :pid, :value => data.pid)] }, finalize: <<-END
data.timetonightrun=result
END
call :a4, :saveestimate, parameters: { :label => "Save estimated time", :method => :post, :arguments => [⭐(:name => :pid, :value => data.pid), ⭐(:name => :estimate, :value => data.timetonightrun)] }
choose :exclusive do
alternative test{data.timetonightrun > 60} do
call :a6, :hometonightrun, parameters: { :label => "Leave from home to go to Night Run", :method => :get, :arguments => [⭐(:name => :pid, :value => data.pid)] }
end
otherwise do
call :a5, :worktonightrun, parameters: { :label => "Leave directly from work to go to Night Run", :method => :get, :arguments => [⭐(:name => :pid, :value => data.pid)] }
end
end
call :a7, :startnightrun, parameters: { :label => "Start taking the time of Night Run", :method => :post, :arguments => [⭐(:name => :pid, :value => data.pid)] }
parallel :wait => -1 do
parallel_branch do ||
call :a8, :run, parameters: { :label => "Run", :method => :get, :arguments => [⭐(:name => :pid, :value => data.pid)] }
end
parallel_branch do ||
call :a9, :drink, parameters: { :label => "Drink", :method => :get, :arguments => [⭐(:name => :pid, :value => data.pid)] }
end
end
call :a10, :calculate, parameters: { :label => "Calculate running time", :method => :post, :arguments => [⭐(:name => :pid, :value => data.pid)] }, finalize: <<-END
data.nightruntime=result
END
:get
data.pid=result
:post
data.pid
data.rid=result
:get
data.pid
data.startingblock=result
:get
data.pid
:get
data.pid
data.testruntime=result
:post
data.pid
data.testruntime
:post
data.pid
data.startingnumber=result
:get
data.pid
data.timetonightrun=result
:post
data.pid
data.timetonightrun
:get
data.pid
:get
data.pid
:post
data.pid
:get
data.pid
:get
data.pid
:post
data.pid
data.nightruntime=result
0
undefined
:get
data.pid=result
:post
data.pid
data.rid=result
:get
data.pid
data.startingblock=result
:get
data.pid
:get
data.pid
data.testruntime=result
:post
data.pid
data.testruntime
:post
data.pid
data.startingnumber=result
:get
data.pid
data.timetonightrun=result
:post
data.pid
data.timetonightrun
:get
data.pid
:get
data.pid
:post
data.pid
:get
data.pid
:get
data.pid
:post
data.pid
data.nightruntime=result