Worksets cannot be used in schedules

Hi, I’m finding a way how to use worksets in schedules and later for Bill of Quantities. Parameter “worksets” is not available during scheduling.
My question is, is there a way by using Dynamo, to put a name of used worksets into any element’s parameter? I am using Dynamo 1.2 and I did’nt find any scripts regarding worksets.
Thank you in advance for your help.
Best Regards,

Try something like this: