Fixed error when applying a previously saved workflow to a new document
We fixed a bug where selecting a previously saved workflow for a new document failed to apply steps, assignments, and validations correctly, or triggered a service error.With this update, workflow templates are now copied in full (steps, assignees, rules, and due dates), validated before creation, and the document status syncs properly with the defined transitions.