AnsweredAssumed Answered

Show Array of data in Workflow

Question asked by dranakan on Nov 18, 2011
Latest reply on Dec 19, 2011 by dranakan

I want to add some data during a Workflow. I would to be able to show an array and the user can add values.
For example, during a step in a workflow a page will be displayed the array. The user can add val1, val2, val3, val4 and other lines…

Workflow X

| Data1 | Data2 |
|  val1 | val2 |
|  val3 | val4 |
|  …  |  … |


I think that I have to :

1. Add in a model the data . Data1 (type any) and Data2 (type any)
2. Create a form control (like in alfresco/site-webscripts/org/alfresco/components/form/controls)
3. Create the worfklow
4. In the share-config-custom.xml, add the step of the workflow (<config evaluator="task-type"…) and add a field with the template (<control template="…)

Has someone a sample ?

(Activiti, Alfreco 4.0b)

Fr forum :

Thank you