Skip to main content

Issue: I can set the Alternative and retrieve data from that Smallworld alternative, but only once at a time.

 

Current work around: I have to clear the Alternative parameter, cache the Reader, and then re-enter the Alternative name and re-run the workspace.

 

Potential cause: It seems to me like the Reader moves into the Alternative on the first run and then when I run it again it cannot find the Alternative because it is already in it. Which is why I need to cache it without a value in the Alternative parameter, effectively moving back out of that alternative.

 

More details:

  • In the smallworld environment I have moved into the alternative of interest ( mainly for testing ), do I need to stay in TOP?
  • I am not writing back into Smallworld just reading out.

 

Potential Fixes: I have tried messing around with 'Export Changes from baseline' but that does not seem to help.

FME_Question_01

Hi @davidmooney​ , have you experienced this behavior on Desktop? I found a similar issue thread here. Reiterating Mark's response to that thread, another similar workaround to what you've got would be to configure your FME Server to restart engines after every job. This can be changed in fmeServerConfig.txt


Hello @jennaatsafe​ 

Thank you for the response, I am using FME Desktop, and am not sending my data through FME Server ( as far as I know ).

I am reading directly from Smallworld passing it through FME and then off to Oracle.

 

Follow up question: In keeping with the idea you suggested, Is there an automated way to "reset" my workspace after each run?


Hello @jennaatsafe​ 

Thank you for the response, I am using FME Desktop, and am not sending my data through FME Server ( as far as I know ).

I am reading directly from Smallworld passing it through FME and then off to Oracle.

 

Follow up question: In keeping with the idea you suggested, Is there an automated way to "reset" my workspace after each run?

Hi David, I'm not sure if there is an automated way after each run, you could try manually Tools > Purge Temporary Files to see if that could be a temporary fix. I do believe this is more of an issue with the smallworld plugin, but wondering if any of these might serve as a workaround:

  • Using a FeatureReader instead for each alternative you are reading in
  • Using a WorkspaceRunner and parent/child workspaces with the parent workspace just passing the alternative as a parameter to the existing workspace.

I have figured out what the issue was and there is a very simple solution. I just needed to add a pipe before the alternative name '|Top'


Reply