cancel
Showing results for 
Search instead for 
Did you mean: 

Keep rejection reason history (formproperty)

alexc
Champ in-the-making
Champ in-the-making
Hello,

My company is using activiti explorer for a workflow application.

One of the processes have a loop in wich a task have to be validated by a user. If this user reject the task, he have to input a reason in a field and the task is forwarded to the task submitter. This submition/rejection can occur one or multiple times until a user validate the task.

The field used to contain the reason is managed with a form property. If the rejection occurs multiple time, this form property is overiden and we loose the previous rejection reason.

How can i do to be able to save the previous rejection reasons and display it ?

Thank you

Alex C
1 REPLY 1

gdharley
Elite Collaborator
Elite Collaborator

You should define the rejection reason variable type as either a List or a Map and append to the list each time through.
If it were me, I would use a Map and have the key as the taskID.

Greg

Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.