Skip to main content
12-Amethyst
March 11, 2013
Solved

Set an alert for workflow task.

  • March 11, 2013
  • 1 reply
  • 1086 views

Hi all,

I need to set a popup message based on a certain condition.Like if a & b are workflow variables and a>b..there will be a popup message "üpdate a".

How do i achieve that???

Best answer by GregoryPERASSO

Hello

In the workflow task, in the transition tab. for example the transition "complete" if you have only one vote possible in the task.

add some java code to test your variables, and if test is KO. throws a WTException with a String message on it.

it will display a popup with the error message to the User when he will try to close the task ...

regards

Gregory

1 reply

GregoryPERASSO
16-Pearl
March 11, 2013

Hello

In the workflow task, in the transition tab. for example the transition "complete" if you have only one vote possible in the task.

add some java code to test your variables, and if test is KO. throws a WTException with a String message on it.

it will display a popup with the error message to the User when he will try to close the task ...

regards

Gregory