Question

WorkspaceRunner in Custom Transformer: wait untill all results are ready


Userlevel 3
Badge +12

Hi,

 

A question closely related to this older post:

https://community.safe.com/s/question/0D54Q000080hE6vSAE/workspacerunner-how-to-catch-all-items-created?t=1657893646062

 

I have placed a WorkspaceRunner in a Custom Transformer. The WorkspaceRunner is set to Wait for Job to Complete. With the suggestion from the older post, I have placed it in a custom transformer so it can run multiple jobs in parallel but still is able to wait untill jobs are completed.

 

Parallellism is set to Moderate, so 7 threads can be used on my machine. I can see the first 'batch' of 7 results being send out of the custom transformer. Later I can see the next 7 results being send out. But immediately after, it's not longer waiting for the other 115 Jobs to finish and continues.

 

I have tried to prevent this by using a FeatureHolder and a Sampler (Last), but no result.

 

image 

imageFlow should only continue after finishing all 129 features.

 

Any ideas?

 

In the older post there was a Python suggestion of @Takashi Iijima​ , but I am hoping for a more simple solution.


0 replies

Be the first to reply!

Reply