Hi,
I think it's possible, but I don't know syntax of rs.exportList function, so you need to perform some tests to get working method.
Algorithm could be (please notice, it's not working solution):
1. Fetch latest alg:
<PDM_MACRO name=lsWrite text="var zComment = '';">
<PDM_MACRO name=lsWrite text="<PDM_LIST ESC_STYLE=C FACTORY=alg WHERE=\"call_req_id = '@{list.persistent_id}'\" PREFIX=algs>">
<PDM_MACRO name=lsWrite text="if (zComment.length < 1) zComment = '@{algs.analyst.combo_name}</i>' + ' : ' + '@{algs.description}';">
<PDM_MACRO name=lsWrite text="</PDM_LIST>">
2. Then include it into export list:
function zShowComment(value) {
rs.data(zComment);
}
3. Use fmtfunc to display data and append it into export:
<PDM_MACRO NAME=lsCol hdr="Comment" attr="id" fmtfunc=zShowComment>
Everything could be much easier if exportfmt function will work same as fmtfunc.
Regards,
cdtj