This way, the activity will start as soon as the number of weeks pregnant exceeds 27.Ĭonsider a purchase request process which can be canceled any time until the order has been quoted. Set a condition where the pregnancy weeks attribute of the patient is greater than 27. Select the activity to open the Expression manager window. In the forth step of the wizard, create a Business Rule to define when should the activity Prepare your baby's birth be started. This activity will be in charge of managing the information of the patient preparation for her baby's birth. If this scenario becomes real during the process, a new activity is triggered. These appointments can be scheduled at any time during pregnancy, so it is possible for the patient to reach the 27th week during a check out process.
This way, when Bizagi evaluates the condition that all ordered exams are ready, a doctor can call-in the Patient.Ĭonsider a scenario where a pregnant patient schedules an appointment. Thus, the Review exams task is represented using a Conditional Task. Only when all the exams are taken and a result for all of them is received, should the Review exams activity be enabled. Then, a doctor examines the patient and usually some exams are ordered. A Patient arrives and a triage is performed.
They do not have a user interface, that is, they are not allocated or available for end users. If they do have an incoming sequence flow, the task will start listening to be enabled when a token arrives.Ĭonditional events are enabled as soon as a token arrives to them, but will wait until a condition is met to move on to the next step in the process flow. If they do not have an incoming path they will be available as soon as the processes containing it is created, and will be listening to the data, waiting for the condition to be met, to be enabled. If the condition is not met, the task disappears from the Inbox, like it never existed.Ĭonditional activities do not need incoming paths. In Runtime, allocated end users will be able to see the task in their pending lists when the condition is met. They represent a user task that when enabled are allocated to an end user.Ī condition must be set to the Conditional activity to enable or disable it, according to the business requirements. Both shapes are available to be used for execution, especially when working with unstructured processes.Ĭonditional activities are enabled or disabled during the course of a case instance depending upon a business condition. The Conditional activity is an extension to the BPMN 2.0 standard. Bizagi provides two different conditional shapes: Conditional activity and Conditional event.