Confirming that this can indeed be done by creating one's own xform.
My approach was to look at the forms generated by input and output options and then use the Orbeon Sandbox to tweak the form until I got it working, then make those changes to the test.xform in Intalio.
The key was:
| Code: : |
In the model..
<xforms:instance id="taskinput">
<fe:input>
<appdatas xmlns="http://example.com/test/xform">
<appdata>
<appName/>
<appValue/>
</appdata>
<appdata>
<appName/>
<appValue/>
</appdata>
</appdatas>
</fe:input>
</xforms:instance>
<!-- Task metadata - used only for People Initiating Processes Task forms -->
<xforms:instance id="taskmetadata">
<taskmetadata/>
</xforms:instance>
<!-- Task Output -->
<xforms:instance id="taskoutput">
<fe:output>
<appdatas xmlns="http://example.com/test/xform">
<appdata>
<appName/>
<appValue/>
</appdata>
</appdatas>
</fe:output>
</xforms:instance>
<xforms:action ev:event="xforms-submit">
<xforms:insert
nodeset="instance('taskoutput')/fe:appdatas/fe:appdata"
origin="instance('taskinput')/fe:appdatas/fe:appdata"
context="instance('taskoutput')"
at="last()" position="before" />
</xforms:action>
|
The taskinput is initialized by the Mapper and I will also use the Mapper to get the taskoutput results. Orbeon documentation, sandbox, examples, etc. were very helpful.
Enjoy,
RB