How can I control the flow of features when I have multiple flows of data in one workspace?
Control the flow of features in a workspace
Best answer by fmelizard
The Sampler coupled with a blocking transformer can be used to control the flow of features inthe workspace, when there are multiple flows of data in one workspace.
Sampler and blocking transformer control flow of features
A Sampler, with Sampling Amount set to 0, canbe used to control the order of data processing in the workspace. After the Sampler, place a blockingtransformer such as the FeatureHolder, FeatureMerger, or any other blocking ansformerwhich waits until all features have been received before processing. Route features from before the Sampler (orother features in the workspace) and Sampler output to the blocking transformer. TheSampler creates dependency between transformers. The blocking transformer will not finish processinguntil all features from the other branch of the workspace have finishedprocessing.
Sample workspace: controlflowusingthesampler.fmwt
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.