Is there a way to detect whether the current rule has generated output while still in the same rule?
Here is a fragment…
u: ()
# Loaded some data into a fact set ...
# Generate the first part of a response
[There are $$numReps people reporting to you]
[You have $$numReps reportees]
[Your team contains $$numReps people]
[$$numReps <= 5 ]
^if ($$numReps <= 5)
{
^if (^response(1) != "") # *** What really want is to know if any of the first 3 responses was output
{
[. They are]
[,]
}
^printNames(@20)
}
That is, if the 4th option was selected, then don’t go on to output any response with punctuation. Just output a list of names.