Skip to main content
1-Visitor
February 4, 2013
Question

workflow task page

  • February 4, 2013
  • 1 reply
  • 754 views

There is an activity in a workflow which renders task to the responsible role.The responsible person cant complete the task,until and unless he does some required actions.How to achieve this for only one particular activity of a workflow???

1 reply

GregoryPERASSO
16-Pearl
February 4, 2013

Hello

You can add some code in the "complete" transition of the task.

for example, control in the code that some attributes are correctly field , or that some objects are in good lifecycle sate.

If there's an error . Throa a WTException with a message to the user.

It will stop the task completion with a popup window ...

regards