Adding to the above answer in case this can help someone, since it took me a while to figure this out.
If the field to be truncated happens to be a multi value field, it must first be converted to a string with mvjoin before being truncated.
Both commands can then be combined:
| fieldformat yourfield=substr(mvjoin(yourfield',", "),1,30)+"..."
... View more