Error formatting number with commas

250 views
Skip to first unread message

hwa...@gmail.com

unread,
Jun 30, 2015, 12:21:28 PM6/30/15
to suppor...@runmyprocess.com
Got this error in process:

2015-06-30T15:45:41+0000 - Task "Manual Task for Treasurer" (id: 7[2] - status: ABORTED): Error while processing {reminder_text}<br/><br/>Hello<br/><br/>A Request ({c_item}) from {company} for ${c_amount_requested?string.number} has been assigned to you.<br/><br/>Please click <a href="{P_task_url}">here</a> to access the approval form.<br/><br/>Best regards.
Expected hash. c_amount_requested?string evaluated instead to freemarker.template.SimpleScalar on line 1, column 97 in Manual Task for Treasurer.

The change I made was to format the number with commas by replacing "${c_amount_requested}" to "${c_amount_requested?string.number}"
This worked in test with newly submitted requests, but is erroring out in acceptance mode with in-progress requests.

Help?

Message has been deleted

tedd...@nana.com

unread,
Jun 30, 2015, 4:30:49 PM6/30/15
to suppor...@runmyprocess.com, hwa...@gmail.com
Seemed to hit some weird bug with above, but I worked around it by using:
${c_amount_requested?number?string("#,###")}
instead.
Reply all
Reply to author
Forward
0 new messages