AnsweredAssumed Answered

Inline Function Substring not working for me

Question asked by gunnarreyr on Mar 19, 2015
Latest reply on Apr 12, 2016 by burkslm

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:

  • Description text
    • 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.
    • The function
      • fn-Substring({WorkflowVariable:mtext_itemdescription},0,20)
    • The output
      • 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)

  • As I said, the same works in the "Run Now" section.

 

Can anyone help on this?

Outcomes