When I tried to use the Workset parameter as my filter parameter with the FilterRule.ByRuleType node, the value would always be blank regardless of how I tried to apply the value to the node. I tried just a string with the Workset name, tried looking up the value by the string name for the Workset and even the DB value.
I finally gave up and created a project parameter that worked fine.
I have a feeling it’s in the way I’m setting the parameter to “Workset” with all different types of parameters we have available (Built-in, Project, type or instance)
I’ve seen that if the categories set in the project parameter don’t match exactly those in the filter, things get messed up.
But since you use Workset (which is set automatically) this can’t be the problem, can it?