Skip to main content
Solved

Set Sampling Amount parameter from an incoming attribute?


jwe
Participant
Forum|alt.badge.img
  • Participant
Hello, ?is it possible to set the "Sampling Amount" parameter of the transformer "Sampler" from an incoming attribute? I understand this value could theoretically change per row of data, but it would simplify our process greatly.

 

Thanks!

 

Using FME 2015.1

Best answer by fmelizard

Hi,

 

Dont think its possible, check the docs to be sure....

 

In that case I would:

 

Add a counter (start with 1) and a tester to test the _count value againts the attribute value.
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • Best Answer
  • July 31, 2015
Hi,

 

Dont think its possible, check the docs to be sure....

 

In that case I would:

 

Add a counter (start with 1) and a tester to test the _count value againts the attribute value.

jwe
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • August 4, 2015
Thanks for the quick reply. Looks like I'll probably stick with changing up my process… it will be better in the long run. ?

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