I have a description field for an article and from that I want to automatically create an intro.
I use the inline function substring for this. The thing is when I try to execute it it doesn´t work in the actual workflow but it does in the "Run Now" section in the Build String node.
Example of how I do it:
fn-Substring(Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean eget nulla vestibulum, molestie libero ac, porttitor eros. Fusce rutrum quis lorem quis imperdiet. Morbi condimentum nec lacus at aliquet.,0,20)
Can anyone help on this?
Solved! Go to Solution.
I suspect it's language related.
Are you working on an English site or another language?
Hi Fernando!
Actually I am trying this in Lorem Ipsum (dummy language), the same as in my example. There are no special characters.
-gunnar
Have you tried it on an English site?
I agree with Fernando. I'd eliminate the dummy language to make sure it had nothing to do with that.
I am having a very similar issue and have tracked it down to be the commas in the text. I am also having the same issue with "(" and ")" characters. Has anyone found a solution for this?
Thanks
Mike
That fixed my issue. Thank you, Mike!!
Welcome!
Hey Mike M! I am having trouble with this exact same issue. I am using the substring function. It returns with part of the substring text in the beginning of my text and at the end. And it isn't returning 75 characters but the entire string.
My function looks like this:
fn-Substring((Article),0,75)
Article is a variable. If you'd like me to make this a new question I can.