Page 1 of 1

Filter on XML Error

Posted: Thu Sep 22, 2016 11:44 am
by KaesDS
Hey guys,

I'm working on a quite simple flow to sort pdf files with the help of metadata attached to it.
The XML pickup part is working fine, but the filter causes an error. :cry:
Fehler in Zeile 29 des Skripts Metadata.Text: TypeError. 'evalToString' undefined or not a function
The german part means "Error in line 29 of the metadata script". I'm pretty sure that my filters (XPATHs) are right. :cry: :?
Also already tried it with different types of data. (INTEGER, TEXT, Boolean) Error remains the same. :?:

Two screenshots of my flow attached.

Image

Image

We are using Switch 11 and maybe there is some kind of bug in the metadata-module?
Or is this error caused by the guy infront of the screen? :lol:

Thanks in advance! ;)

Greetings

Kristoffer

Re: Filter on XML Error

Posted: Thu Sep 22, 2016 12:14 pm
by lombert
The line should look like this;

Code: Select all

[Metadata.Text:Path="/order/template",Dataset="Check_Input",Model="XML"]
There "Check_Input" is the line you get from XMP-pickup's 'Dataset name'.

Image

Then I do this I set two folders after XML-pickup and sets the connection between the folders on hold, then you can see the "job" that you want to pickup meta data from in the window.

Image

Image

Re: Filter on XML Error

Posted: Thu Sep 22, 2016 1:33 pm
by KaesDS
Thank you lombert, it's working now! :D

Especially the hold "trick" was perfect!