Book a Demo

Author Topic: Gateway simulation  (Read 3352 times)

lou29280

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Gateway simulation
« on: May 14, 2013, 08:07:13 am »
Hi,

I am trying to simulate a BPMN process diagram from the example project and it works great until it gets to a Gateway node. :'(

How do I get the simulation to choose one path over the other?

Thanks for your help.

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: Gateway simulation
« Reply #1 on: May 14, 2013, 03:45:24 pm »
In order to use a Gateway with script - you need to set up a local varaible - then have a condition statement in the SequnceFlow exiting the gateway:
 - In the initial Activity of the model
   - set the TaskType Tagged Value (TV) to "Script"
   - In the Script TV - set your variable:  e.g. sim.loan = true;
On SequenceFlow exiting the Gateway:
  - Set ConditionType = Expression
  - Set ConditionExpression - say sim.loan== true