How to give Confirmation message on gates

1
0
-1

I have created one model which has lots of gates and validation conditions.. I want to give condition on gate that if validation == true then print this message " validation is successfull " else print " need more information"

I have tried this groovy on Human task named Validation

if (validation==true) { println ("validation is successfull ") } else { println(" need more information" ) }

can anyone solve these issue??

Comments

Submitted by haris.subasic on Thu, 07/24/2014 - 14:45

There are no forms for gateways. Where would you like to show this message? On the next human task? Something in the logs?

Submitted by florian.baillagou on Thu, 07/24/2014 - 14:49

Hi,

By model, you means process ?

If I understand, you want to : - show "Validation is successful" in a Human Task if validation == true - show "Need more informations" in a Human Task if validation == false

  • You can create a data pool named "validation" of type boolean. Set the value to true or false (I don't know where you assign the value (Script or Human task)).
  • After your gate, you create two humans tasks : One for Validation is successful and one Needs more informations.
  • Click on the flow which join the gate and "Successful" task and check "Default flow".
  • Click on the flow which join the gate and "Need more Information" task and set condition : validation == false
2 answers

1
0
-1

Hi somebody can tell me how to add condition in exclusive gate in Bonita bpm7.
In version 6 it is directly under general tab.But I am not getting for Version 7

1
0
-1

Hi somebody can tell me how to add condition in exclusive gate in Bonita bpm7.
In version 6 it is directly under general tab.But I am not getting for Version 7

Notifications