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??
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
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
There are no forms for gateways. Where would you like to show this message? On the next human task? Something in the logs?
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