
Hi
I have exported and imported a flow, nothing has changed, but I am now getting the following error in one of the Expressions in the flow and I cannot work out why.
InvalidTemplate. The 'start index' for function 'substring' must be equal to or greater than zero and must be less than '0' which is the length of the string.https://aka.ms/logicexpressions#substring
I have looked at the old flow and the information is exactly the same. I would be grateful for any advice!
Many thanks
Maggie
Hi @Maggiembd,
Like the link in the error already mentions. It is worth double checking what you are using as the text, start index and length.
substring('<text>', <startIndex>, <length>)
Can you share your specific substring expression, what are you using in your startIndex parameter?