Hello!I have the SDT process variable named 'ServiceData' (with repeatable variables inside) and I need to show one of its variables (with its values) in the Listbox.
In the Forms Builder I created the Taskspace Task and the adaptor:
- adaptor type = Data source
- class name = com.documentum.xforms.engine.adaptor.datasource.docbase.IDocbaseDataSourceAdaptorService
- type = SBO
- initial parameter: name = 'dql', value =
SELECT srv_r.attr7,
srv_r.r_object_id
FROM dmc_wfsd_servicedata srv,
dmc_wfsd_servicedata_r srv_r
WHERE srv_r.attr8 = '${attr}'
AND srv.workflow_id = '${workflow-id}'
AND srv_r.r_object_id = srv.r_object_id
- input: attr (string) - another variable from SDT 'ServiceData' and workflow-id (string)
- output: Schema->Items->Number (string)
After that I assigned this adaptor to listbox on the General -> Data&Storage. I assigned input parameters attr and workflow-id to another variables.
Also I checked my dql query with Document Administrator's utility - DQL editor and got the result is that I need. (Here I substituted the attr and workflow-id with real values).
Finally I got listbox with a number empty/blank lines and this number is mathes the number of lines in DQL editor.

Also I tried a simplier query (it has no meaning, it only needed to test):
SELECT r_object_id,
string_value
FROM dmc_wfsd_element_string
But got the same result - a set with empty lines.
What I missed?
Thanks and regards,
Konstantin