Solved

Save a variable value in a component workflow called multiple times by a list workflow

  • 20 August 2018
  • 1 reply
  • 3 views

I have a State Machine workflow which has a number of approval steps.  Initially the first approval step saves the comments then triggers the component workflow based on the number of country managers that were selected on the original form (this number is between 1 and 24 countries).  Each of the countries may have a comment which I wish to capture.  From my reading I knew to setup a for each to add the comments.  I then started to see an uncoded line feed (\u000a) between some but not all comments.

 Final Text

The configuration for my two Regular Expressions is this:

Initial remove extra characters

Final cleanup

 

Any and all help would be appreciated

icon

Best answer by wooly 21 August 2018, 06:55

View original

1 reply

Yippee!!!! Solution has been found.  After all the clever Regular Expression combination that we had tried it came down to being a simple <ENTER> to create a new line which fixed the issue.  These sort of issues drive me nuts but I am glad that we have found such a simple solution to give me the correct result.

Regular Expression

Regular Expression details

From this: 

Not working version

Final Result:

Final Comments displayed

Reply