Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
PITadmin
Contributor II
Contributor II

tPOP filter with context

Hi,

 

I'm receiving mail with the tpop component and use filtering with the pattern "XML-File*" for subject. This works fine but if i put the filter value in a context parameter and use the context parameter as filter it does not work.

e.g. context.s_custom_SUBJECT_FILTER

 

What is wrong? Any ideas?

 

regards

Stefan

Labels (2)
6 Replies
manodwhb
Champion II
Champion II

@PITadmin , what value have you used to create a context of context.s_custom_SUBJECT_FILTER? it should be XML-File* without double quotes.

PITadmin
Contributor II
Contributor II
Author

It is XML-File* without double quotes

I used tFileInputDelimited->tContextLoad to populate context.s_custom_SUBJECT_FILTER from a parameter.ini file along with other values i use within the job.

 

Stefan

 

0683p000009MaNS.png

manodwhb
Champion II
Champion II

@PITadmin , can you print the conetxt value before you use in tpop ? and check are you getting the right one or not?

PITadmin
Contributor II
Contributor II
Author

Starte Job XML_Extract am 14:23 16/06/2020.

[statistics] connecting to socket on port 3670
[statistics] connected
s_custom_XML_EXTRACT_PATH|C:/Temp/XML_Extract/XML
.....
s_custom_SUBJECT_FILTER|XML-File*
...
context.s_custom_SUBJECT_FILTER : XML-File*
[statistics] disconnected

Job XML_Extract endet am 14:23 16/06/2020. [exit code=0]

PITadmin
Contributor II
Contributor II
Author

Ideas anyone else?

My problem ist still pending.

 

Stefan

PITadmin
Contributor II
Contributor II
Author

Ideas anyone else?

My problem ist still pending.

 

Stefan