I want to remove every option from a multi tree select when closing a ticket using Core Workflow.
i.e. when closing the ticket, the fields contents should be an empty array
Nothing I tried resulted in the field being empty after saving the ticket.
Steps to reproduce the behavior:
Create custom object from type ‚multi tree select‘ with a few options
Select one or more values within an open ticket and update the ticket
Create Workflow to empty the ‚multi tree select‘ when the ticket gets closed
First, I tried ‚remove‘ but then realised the documentation states that removing fields will preserve the current value. Then, I tried ‚hide‘ in combination with ’select’ ("Select a specific value within a select, tree select or boolean fields.“).
Sure: I want to have a custom workflow remove all(!) options from a ‚multi tree select‘ (new object type since Zammad 5.2) when changing the status to ‚closed‘. My workflow only seems to remove the ’new’ options in the editing mask, but I want all previously stored values (within the database) gone after updating.