I'm trying to figure out how I can configure a velocity template for a post workflow function where I can store 2 dimension data. For example, I may have a very simple template like so:-
<tr> <td class="fieldLabelArea"> Transition Name: </td> <td nowrap> <input name="transition_name" id="transition_name" value="$transition_name" /> </td> <td class="fieldLabelArea"> External Status: </td> <td nowrap> <input name="external_status" id="external_status" value="$external_status" /> </td> </tr>
In this example, I can store one value for the "transition_name" value, and one value in the "external_status" value then get those values in the factory class for the plugin. Is it possible to somehow hold 2 dimensional data? Something like this:-
Transition_Name External_Status --------------- --------------- Transition1 Status1 Transition1 Status2 Transition2 Status1
The number of "rows" would be variable depending on the place in the workflow. Right now, I'm having to have no inputs on my function and instead store this data in a database table together with the transition id to lookup the data. Works fine, but I'd like to configure these settings in the workflow to keep it all together.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.