c25bd9e6-a5b5-44b3-a375-87e40d87f985 a1200993 Signavio labels finished DefaultHandlerWrapper 0 0 0 0 null http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php call :a1, :timeout, parameters: { :label => "\"Save money for living expenses in Austria\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END data.money=10000 END call :a2, :timeout, parameters: { :label => "\"Check if passport still valid\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END data.passportStatus=0 END choose :exclusive do alternative "data.passportStatus==0" do call :a4, :timeout, parameters: { :label => "Renew passport", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END data.passportStatus=1 data.money=data.money-60 END end end call :a6, :timeout, parameters: { :label => "\"Check if visa is needed\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END data.visaStatus=1 END choose :exclusive do alternative "data.passportStatus==1" do call :a5, :timeout, parameters: { :label => "Apply for visa", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END data.visaStatus=0 data.money=data.money-110 END end end call :a10, :timeout, parameters: { :label => "\"Apply for \\"Rot-Weiß-Rot\\" card\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END data.money=data.money-200 END parallel :wait => -1 do parallel_branch do call :a12, :timeout, parameters: { :label => "\"Organise bank account\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END data.money=data.money+100 END end parallel_branch do call :a13, :timeout, parameters: { :label => "\"Organise accomodation\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END data.adress="Sonnenallee 51/1/16" END end end call :a15, :timeout, parameters: { :label => "\"Enter Austria\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END data.money=data.money-1000 data.jobStatus=1 END loop pre_test{data.jobStatus==0} do call :a3, :timeout, parameters: { :label => "Search for a job", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END data.jobStatus=1 END end :post 2 data.money=10000 :post 2 data.passportStatus=0 :post 2 data.passportStatus=1 data.money=data.money-60 :post 2 data.visaStatus=1 :post 2 data.visaStatus=0 data.money=data.money-110 :post 2 data.money=data.money-200 :post 2 data.money=data.money+100 :post 2 data.adress="Sonnenallee 51/1/16" :post 2 data.money=data.money-1000 data.jobStatus=1 :post 2 data.jobStatus=1 0 undefined :post 2 data.money=10000 :post 2 data.passportStatus=0 :post 2 data.passportStatus=1 data.money=data.money-60 :post 2 data.visaStatus=1 :post 2 data.visaStatus=0 data.money=data.money-110 :post 2 data.money=data.money-200 :post 2 data.money=data.money+100 :post 2 data.adress="Sonnenallee 51/1/16" :post 2 data.money=data.money-1000 data.jobStatus=1 :post 2 data.jobStatus=1