Subject: @TranSform behaves differently in edit/save vs. ComputeWithForm
Correct.
From Designer Help:
Applies a formula to each element of a list and returns the results in a list.
So, the list element (in your case, a field in the document) is used as the source of data but the result (if ignored) is not written back to the document. If you need to alter Worklist, you can do:
Field Worklist := @Transform(Worklist; “x” ; @If(@Begins(x; “xyz”); x; @Nothing))
There are also ways of doing this without using @Transform, using combinations of @Trim, @Right, etc.