I have a scenario in shich I am storing substring for an Item value in workflow variable and I need to check if the value is DP001. please find below screens and let me know.
I uused following function to get 3 to 7 characters from string
I am begineer for Nintex please let me know any solutions.
Thanks in advance...
first of all, check the correct syntax of inline functions you miss a source string in Substring() function
the second, arithmetical operation are not evaluated in place for inline functions. you need to prepare all the arguments upfront.
so if (eg) lenght of DocID is 10 your formula
evaluates literally to
note the second expression will evaluate to "12" because of lenght of string "1234567890-2"
if you always need to get substring always starting at the same possition and of the same length. haven't you tought of using regular expression?
the regex pattern might look like