Should I use Wildcards or Regular Expression In a Decision Shape When Data Contains Line Feeds?

Document created by sheng_liao462475 Employee on May 5, 2017Last modified by chris_stevens on May 11, 2017
Version 2Show Document
  • View in full screen mode

Scenario

Use decision shape when data contains line feeds or carriage return.

 

Solution

You will need to use Matches Regular Expression in decision shape to detect line feeds or carriage return. Matches Wildcards option will not work.

Use Matches Wildcards to match a value on a single line input. To match a value in a multi-line input, use Matches Regular Expression. http://help.boomi.com/atomsphere/GUID-622D5243-D439-4E88-9BEC-418F98396157.html

 

Sample Data:

test

 

 

For the Decision shape, configure it as follows:

First Value: Current Data

Comparison: Matches Regular Expression

Second Value: .*test[\r\n]+.* 

1 person found this helpful

Attachments

    Outcomes