Place elements onto worksets

You could simply miss a node called Workset.Id, see here:

Note that the search tool returns only 3 results when typing “Element.SetWorkset”…