cancel
Showing results for 
Search instead for 
Did you mean: 

Using Context objects

Former Member
0 Kudos

Hi ,

there a situation where in we have a combination of several zip and xml files placed in the same folder..

we have a receiver condition saying Filetype=*.xml BS_VXD100

And other condition as Filetype=*.zip BS_VXQ201

but its failing saying no recevier found..

whats wrong..its picking files without condition but why its failing wit condition..where is it going wrong

Thanks in adavance

Accepted Solutions (0)

Answers (3)

Answers (3)

stefan_grube
Active Contributor
0 Kudos

> we have a receiver condition saying Filetype=*.xml BS_VXD100

> And other condition as Filetype=*.zip BS_VXQ201

The condition must be valid XPATH. A wildcard is not possible.

Check an XPATH manual.

Former Member
0 Kudos

hi Vinit

Try these conditions

Filetype=*.xml *

 Filetype=*.zip*

thanks

sandeep

Edited by: sandeep sharma on Nov 16, 2010 7:46 AM

former_member472138
Active Contributor
0 Kudos

Hello Vinit,

● File Name

Specify the name of the file that you want to process. The name can contain placeholders (*, ? (placeholders for exactly one character)) so that you can select a list of files for processing.

● Advanced Selection for Source File

If you want to set an exclusion mask for the File Name specified above, or if you want to specify multiple directories using a file name mask and exclusion mask, set the Advanced Selection for Source Fileindicator.

○ Specify an Exclusion Mask for the file name specified above.

You want to process all files that have the extension '.txt', but want to exclude all files that begin with the letter 'a'. To do this, enter .txt for File Name, and a for Exclusion Mask.

○ You can enter additional specifications for source directories, file names, and exclusion masks in the table. This data is processed in addition to the details specified above.

Regards

Pothana

Former Member
0 Kudos

Hi i am not mentioning about the Comm channel.

i am asking abt the condition in receiver determination as if its an xml it has to be routed to one reciever and if its a ZIp it has to be sent to other

Former Member
0 Kudos

may be u can try ABC*.xml which case ur file starts with 'ABC'