Skip to main content
Solved

my workspace in cloud always retruns SAME result of the first file I uploaded...


mlev

I'm newbie...

I adapted the code of FME's example

FME Server Playground - Upload File In Session

to run as custom-widget within ESRI Web AppBuilder (Developer Edition) and I have unexpected problem. This problem occurrs also if I run the exact code of the original FME's example, since the code is good, only my cloud workspace apparently lack some definitions. I'll explain -

 

If I run FME's original code example using FME's original easyTranslator.fme workspace, then for different input files I get different results (well, it's obvious expected behaviour...).

Same if I run it on easyTranslator.fme which FME has put inside "Sample" folder in my cloud (I assume it's exactly same workspace).

 

But when I run SAME exact FME's code example on MY FME's cloud workspace that was created independently, it returns ALWAYS the results zip code of the FIRST input file, no matter if I upload other file and run on it. And if I run it from the beginning on a new input file (without uploading and running also on my old input file) then it "succeeds" but does not return a zip file.

 

So this weird phenomenon stems from my workspace definitions...

 

My questions:

  1. What could be the problem and how to solve it?
  2. How can I define that after each transformation, the workspace will clear its memory of old input files?
  3. How can I instruct explicitly the workspace to clear its old input files?

 

Help will be greatly appreciated,

 

Michael

Best answer by redgeographics

This sounds like an issue with the source dataset parameter. Doublecheck how your code is passing that on to the workspace, if that doesn't work properly the workspace will take its default value.

View original
Did this help you find an answer to your question?

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • Best Answer
  • August 20, 2020

This sounds like an issue with the source dataset parameter. Doublecheck how your code is passing that on to the workspace, if that doesn't work properly the workspace will take its default value.


mlev
  • Author
  • August 20, 2020

Thanks @Hans van der Maarel​ 

Problem solved.

Yes, it was the source dataset, only I already explained that the problem must be in my workspacce. I right clicked on source, chose "Edit User Parameter Definition" and cleared "Default Value" textbox. This solved the problem.

Michael


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings