Skip to Content
0
Former Member
Sep 17, 2007 at 02:33 PM

Comm Channel Variable Substitution - Use of wildcards to reference payload

87 Views

Hi!

I am building a solution to write out tagged / XML IDOCs to a file adapter. I am using variable substitution to build the file name to include the message type, sending partner etc... in the target directory and filename.

Is there a way to wildcard nodes in the variable substitution? For example:

<i>Currently</i>

payload:WMMBID01,1,IDOC,1,EDI_DC40,1,RCVPRN,1

<i>Desired</i>

payload:*,1,IDOC,1,EDI_DC40,1,RCVPRN,1

where * is any wildcard.

Reason is that we have multiple IDOC types and I want to avoid having to create multiple communication channels.

Help appreciate and rewarded. Many thanks, Duncan.