Page 1 of 1

Set folderpath from XML-field

Posted: Wed Feb 28, 2018 3:26 pm
by Northlander
Hi,

Im trying to set the path to a folder with the help from metadata.
My ERP is generating an xml which contains an orderID. On my fileserver there is a corresponding folder which name is the same as the orderID. I want to set the folder path to this folder and grab the files in there and use them in my flow.

I guess it should look something like this:
//192.168.163.188/orderFolder/[Metadata.Text:Path="/root/order/ordertag",Dataset="Xml",Model="XML"]

I just can't figure out which flowelements Im supposed to use.
Does anybody have any ideas?

Best regards
Anders

Re: Set folderpath from XML-field

Posted: Wed Feb 28, 2018 4:38 pm
by loicaigon
Use the InjectJob element or the InjectLite element from AppStore if needed. In both case, this is where you will pass the dynamic file url and push the job into the flow.
You may as well set the Capture XML element so the xml file is actually the job and no further PDF file has to be expected.

Re: Set folderpath from XML-field

Posted: Wed Feb 28, 2018 4:40 pm
by gabrielp
You can use the tool called Inject job (or a similar bit different one in the appstore called Inject Lite).

http://www.enfocus.com/manuals/UserGuid ... t_job.html

Re: Set folderpath from XML-field

Posted: Wed Feb 28, 2018 4:40 pm
by gabrielp
loicaigon wrote:Use the InjectJob element or the InjectLite element from AppStore if needed.
You beat me... :lol:

Re: Set folderpath from XML-field

Posted: Wed Feb 28, 2018 11:22 pm
by loicaigon
:P

Re: Set folderpath from XML-field

Posted: Thu Mar 01, 2018 10:30 am
by Northlander
The inject lite app worked like a charm. Thank you so much! :D