b6efef19-1f62-4614-b7e8-e40feb9e7433
a01209799
Signavio
default
stopped
DefaultHandlerWrapper
after
8
8
5
14
8
52
http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php
http://abgabe.cs.univie.ac.at:9500/processid
http://abgabe.cs.univie.ac.at:9500/runnerid
http://abgabe.cs.univie.ac.at:9500/startingblock
http://abgabe.cs.univie.ac.at:9500/trainrunning
http://abgabe.cs.univie.ac.at:9500/runtestrun
http://abgabe.cs.univie.ac.at:9500/savetestrun
http://abgabe.cs.univie.ac.at:9500/startingnumber
http://abgabe.cs.univie.ac.at:9500/estimate
http://abgabe.cs.univie.ac.at:9500/saveestimate
http://abgabe.cs.univie.ac.at:9500/hometonightrun
http://abgabe.cs.univie.ac.at:9500/worktonightrun
http://abgabe.cs.univie.ac.at:9500/startnightrun
http://abgabe.cs.univie.ac.at:9500/run
http://abgabe.cs.univie.ac.at:9500/drink
http://abgabe.cs.univie.ac.at:9500/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