Displayname is: Mustermann, Max AB
Used smart-Values in automatation:
a: {{initiator.displayName}}
b: {{initiator.displayName.left(10)}}
c: {{initiator.displayName.lastIndexOf(" ")}}
d: {{initiator.displayName.left(15)}} Result without error:
a: Mustermann, Max AB
b: Mustermann
c: 15
d: Mustermann, Max
I like to have the result from d) for EVERY Displayname. So I want use c) and d) together:
{{initiator.displayName.left({{initiator.displayName.lastIndexOf(" ")}})}} (I want put the result from c) as a number in d).
But there comes an error. Whats wrong?