Find *.xml file, than move to other folder

B
Benny1987
Zebra (OVS) - Hermes Germany GmbH

Hey there,

I've tried for several hours now, but I cannot find a way to perform our wanted action.

We would like to move devices (Zebra TC75x), where a *.xml file does exist in sdcard\download.

So I only need SOTI to look for any .xml file in the specified folder and then move to the folder "XYZ".

Any suggestions?

Thanks very much,

Greetings from Hamburg, Germany

7 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
7 years ago

Create a Custom Data rule that extracts a value from that XML file and then use that value in the criteria for a relocation rule. 

B
Benny1987
7 years ago

Thanks so far, but not that easy.

The name of the XML file is different on each device

e.g. 435_Serialnumber_000000.xml

That seems to be impossible to handle?

MD
Matt Dermody Diamond Contributor
6 years ago

What is the ultimate purpose of that file? Maybe we could come up with an alternate solution to your problem if we understood more of the moving parts. 

B
Benny1987
6 years ago

 Purpose of the file: Installing "Keys" for one of the Apps on the device. Meaning: If keys are installed, file doesn't exist.

If Keys are not correctly installed --> file does exist,  --> factory reset necessary.

Maybe it's possible to look for

*.xml in a specified folder? Without a file name?