Hi,
I use the following smart value:
{{#lookupObjects}}{{index}}. {{Key}} {{Name}} {{"Application Type"}} {{/}}to store results of LookupObjects into variable businessAppResults
When accessing the variable in other actions by using {{businessAppResults}} the printed output (e.g. in email body) will result:
0. CMDB-XXXX Azure DevOps Server On-Premise 1. CMDB-YYYYY FRENDS On-Premise 2. CMDB-ZZZZZ Silk On-Premise 3. CMDB-XYXYX XpressFeed On-Premise
Is there a way to modify above smart value so that the output values were Comma-Separated and each record is separated by newline char? Or can I manipulate the result value {{businessAppResults}} with some functions?
The desired output would be like this:
0. CMDB-XXXX,Azure DevOps Server,On-Premise
1. CMDB-YYYYY,FRENDS,On-Premise
2. CMDB-ZZZZZ,Silk,On-Premise
3. CMDB-XYXYX,XpressFeed,On-Premise
All ideas are welcome !