Book a Demo

Author Topic: BPSim and intermediate event  (Read 10321 times)

Zvolensky

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
  • Do... or do not. There is no try.
    • View Profile
BPSim and intermediate event
« on: February 18, 2016, 06:20:50 pm »
Hello
Another tricky question
Is there a way to use intermediate events? I have Activity A, it takes 10 minutes. Is there a way to simulate that there is a 30% change that during those 10 minutes an error will occur (at any time during those 10 minuets) and the activity A will be interrupted (interrupting intermediate event) and Activity B will start as a result.
Something like this:

And as we are onto this, what about non interrupting intermediate event (at any point during those 10 minutes of Activity A).
Any ideas? :D
Thank you
Maros
« Last Edit: February 18, 2016, 07:00:15 pm by Zvolensky »

MMA

  • EA User
  • **
  • Posts: 63
  • Karma: +3/-0
    • View Profile
Re: BPSim and intermediate event
« Reply #1 on: February 19, 2016, 10:55:41 am »
In your example, there should be a subprocess that could ended with an Error Event.

Then the Boundary Interrupting Error Intermediate Event can response to it.

This examples shows that 24 tokens out of 100 ended by Error and 76 ended normally. (We had a setting of 0.2 and 0.8 probability on the sequences flows outgoing from the gateway respectively.)




Another simpler example is the Timer Intermediate Boundary event (for 1 hour) on a userTask, whose ProcessingTime could range from 0 to 1000 with mean of 50 minutes.



Hope that helps  ;D

MMA
« Last Edit: February 20, 2016, 09:01:22 pm by MMA »

Zvolensky

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
  • Do... or do not. There is no try.
    • View Profile
Re: BPSim and intermediate event
« Reply #2 on: February 19, 2016, 03:35:05 pm »
Hello
For sure it helps :D thank you. I will test it right away :D
So basically, if you want to catch the error, you need to have and underlying sub-flow which will produce the error.
This can be a bit of overkill if you want to simulate a process of 20 activities where the error can occur on any of these.
It would be nice to have an option on the error intermediate event directly, without producing the sub-flow for all of the errors on all of the activities.
But still there is this small problem of "at any time during those 10 minuets" thing.
The sub-blow will produce the error, but it will produce the error right away after the flow start in your example (it will go right away into Activity 3 and end). I don't think it is possible at this time with this version of BPSim without additional setting on the Error Intermediate Event itself.

Thank you
Maros

Zvolensky

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
  • Do... or do not. There is no try.
    • View Profile
Re: BPSim and intermediate event
« Reply #3 on: February 19, 2016, 05:17:35 pm »
hmm
I wanted to test the same flow as in your example, no joy.

I'm getting a validation error:
BPMN Error : Intermediate catching event 'IntermediateEvent1' must be either Message, Signal, Timer, Link, or Conditional.   
What did i forgot again? :D
Thx
Maros

MMA

  • EA User
  • **
  • Posts: 63
  • Karma: +3/-0
    • View Profile
Re: BPSim and intermediate event
« Reply #4 on: February 20, 2016, 09:00:27 pm »
Hi Maros,

Your Intermediate Event is not a Boundary Event. Fix it by:

Ctrl + Del your Intermediate Event | From the tool box, click Intermediate Event and drop on Activity1 | from the popup menu "stand-alone/Edge-mounted", select "Edge-mounted".

Then double click the Intermediate Event | choose "Bound-Interrupting | Error"

Note: make sure the Activity1 is a sub-process

MMA
« Last Edit: February 22, 2016, 10:45:15 am by MMA »

Zvolensky

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
  • Do... or do not. There is no try.
    • View Profile
Re: BPSim and intermediate event
« Reply #5 on: February 22, 2016, 03:28:04 pm »
Hello
Yes, this is working, i was not aware that this is how you put the boundary events on an activity. Brilliant!
BR.
Maros

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: BPSim and intermediate event
« Reply #6 on: February 25, 2016, 04:23:17 am »
In the recent Webinar on BPSim, i asked if we could have a style-guide, so we can understand which BPMN constructs are acceptable to BPSim. Such a guide might help with questions like this ?
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com