Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hello,
I currently have a reporter sending run reports via teams message. I've recently discovered that some of the reporters are failing silently due to the variable ${failedEventsSummary} being too long. I've tried treating the variable like a large string and manually truncating (failedEventsSummary[:100]) but it just prints that code in the message.
Any help would be much appreciated!
Of course minutes after posting I figure it out. I'll leave this here just in case anyone else has this issue.
The solution is to use the DSS function get:
"value": "${get(failedEventsSummary, 0, 500)} ..."
This will return the first 501 characters follow by " ... "
Of course minutes after posting I figure it out. I'll leave this here just in case anyone else has this issue.
The solution is to use the DSS function get:
"value": "${get(failedEventsSummary, 0, 500)} ..."
This will return the first 501 characters follow by " ... "