default value from array

1,566 views
Skip to first unread message

Marco Cruz

unread,
Oct 26, 2021, 10:13:57 PM10/26/21
to RunMyProcess Developer Forum
How can I put a value as default, Im try
&Comentarios=${arrayLote.cmts[P_index]?default('test')}
just record a single value

Tomas Kolacek

unread,
Oct 28, 2021, 11:04:59 AM10/28/21
to RunMyProcess Developer Forum, Marco Cruz
${(arrayLote.cmts[P_index])?default('test')}

Tomas Kolacek

unread,
Oct 28, 2021, 11:14:56 AM10/28/21
to RunMyProcess Developer Forum, Marco Cruz
Hello Marco,

you can use this:
${(arrayLote.cmts[P_index])?default('test')}
the entire expression must be in parentheses

Thanks and Best Regards
Tomáš Koláček
-----------------------------------------
Tomáš Koláček
Akorbi Digital RMP
Customer Support
-----------------------------------------
On Wednesday, October 27, 2021 at 4:13:57 AM UTC+2 Marco Cruz wrote:
Reply all
Reply to author
Forward
0 new messages