cut out the name of a document

Hey all.

I have a validation in which the name of the uploaded attachment can't have more than 100 characters. I need that Appian automatically cut the name to maximum 100 characters.

I was trying to make an expression rule; I made an index to find the character number 101, I wanted to insert a "," to split the text and then remove it... but I can't because the insert function doesn't accept text for the index parameter.

Ideas?


Example value: nombredocumentosnombredocumentosnombredocumentosnombredocumentosnombredocumentosnombredocumentosnombredocumentos

  

  Discussion posts and replies are publicly visible