FIELD Categories:= @Trim(@Replace(Categories;
"To be assigned"; AssignedTo));
You have a database where you log service requests. Incoming requests are automatically categorized as "To be assigned" by a mail/paste filter. Each day, you review the new (unassigned) service requests, and assign them to technicians by entering the appropriate name in the AssignedTo field. Once a request has been assigned, you want it to appear under that technician's name in the view, instead of under "To be assigned."
Rather than manually categorizing each document a second time, you can write a filter macro, like the one above, to delete the documents from the "To be assigned" category and add them to the appropriate technician categories.