I am trying to pass a value I calculate in one section of a workflow to a 'Random Sample Tool' so I do not have to manually type the value in. I used a text input tool for the attached example, but, the text input will be replaced with an actual file in the future.
I would appreciate any help.
Thanks You
Solved! Go to Solution.
Hi @WCPete,
I would recommend using a batch macro for this process. The number you have calculated will go into the control parameter then you will use an action tool to update the value in the random sample tool with this value.
It should look something like this.
Hope this helps,
MSalvage
Make Sure you click on the Questions tab and select which field contains the Update Value.
Best,
MSalvage
Thanks again @Msalvage, but, I have never used a batch macro or had to in the past so I am still struggling.
Attached is a working example, might need some slight tweaking, but hopefully it will get you going.
Best,
MSalvage
Thanks @MSalvage! I am sure that took longer than you anticipated.
I have included the final workflow.
I am leaving these questions out there in the event someone can point me to a good example demonstration on these.
1. I am not sure the reason to update this Text Input other than to accept the field I am passing in the workflow?
I am not sure why I needed to update the second drop down or how it affects my workflow?
Thanks again @MSalvage!