Greetings,
This probably isn't very complicated or difficult, but I'm a noob.
I need to count the number of records in an output, then use that number to determine (update) the value of N in the Random % Records tool, and apply to the same output.
Please could someone help me arrive at a solution?
Solved! Go to Solution.
Hi @starfailure : the attached macro should do this for you. Simply map the N value to the upside down question mark input (control parameter)
Thanks @morr-co! Appreciate the response.
A couple follow-ups.
- What upside-down question mark?
- How do I incorporate a macro like this into a standard workflow?
No worries, below are the steps you need to take. A "macro" is essentially a workflow that you can use in another workflow. To accomplish this:
While @morr-co is taking the break, and utilize the macro to give a sample here. Hope it helps.
The question mark indicates that there is a question from Macro, requiring user configuration.
If helps, appreciate if you would mark it as accepted.
Thank you, both!
I think you've provided the missing pieces.
Now to put it together..
@starfailure Appreciate the mark. Have a nice day!
Thank you for your macro instruction and example. I've used it on a multi-stage sampling process that I've puzzled over all day!