I was able to randomize this scenario. I had to use a different approach. But there is one caveat, which I will write about below.
This is what the solution looks like.
And this is the blueprint of this solution.
blueprint (25).json (10.9 KB)
But there is a caveat to this decision. It gives out all 8 randomized options at once.
Conditional example for understanding.
In the incoming stream, the question “How are you?” is generated. Next, I want to get one of the answer options in the proportion of 75/25:
- Good (option A) 75%
- Bad (option B) 25%
The scenario shown in the screenshot above will produce 8 randomized answers at once.
How are you?
- Good
- Good
- Bad
- Good
- Good
- Bad
- Good
- Good
And I need the scenario to stop after issuing one of the answer options (good / bad).
How are you?
- Good
Running the script again would generate another randomized response.
How are you?
- Bad
etc.
I am still looking for a solution to this problem.