Return Resulting .zip from FME Process
I am way new to FME and wanting to demo a proof of concept. I have the FME activity pack all working in AGOL and using proper items to return a result. However, when I return the results of the job from the Run FME Data Download activity in Workflow, as json, I don't get the url to the zip file shown far below. I only get this...
Which reflects the JSON in the response:
whereas I would expect to get more info like seen in the web traffic below, per a manual submission. How are people retrieving proper output?

-
I'm not positive, but it looks like your download is running asynchronously (mode: "async"), which would mean that there won't be a result yet. I think you'll need to pass the jobID into the Check FME Job Status activity (probably within a Loop with a delay) to get the result.
There might also be a way to tell the Run FME Data Download activity to run synchronously. This could be a setting on the FME workspace itself too.
2 -
https://docs.safe.com/fme/html/FME_Server_Documentation/ReferenceManual/service_datadownload.htm suggests that you could pass an opt_servicemode parameter.
The Parameters input would need to include this:
={ opt_servicemode: "sync" }3 -
Well that was all it was Ryan, using sync instead of async! Thanks!
2
Du måste logga in om du vill lämna en kommentar.
Kommentarer
3 kommentarer