Skip to main content
Question

WorkspaceRunner in Custom Transformer: wait untill all results are ready


jasperwis
Enthusiast
Forum|alt.badge.img+15

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!

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