# Workflow action on completion

In the template there is the section **"Workflow Action"**.

1. **Run action on completion** enable.
2. **Action on Completion** choose (depending on the primary table): 
    - Release / Reopen (only for certain document tables)
    - Custom action (codeunit/report)
    - Define field value assignments

When **Define field value assignments** is selected, the section appears **Field Value Assignments**.

[![image-1766996199607.png](https://docs.squeeze.one/uploads/images/gallery/2025-12/scaled-1680-/image-1766996199607.png)](https://docs.squeeze.one/uploads/images/gallery/2025-12/image-1766996199607.png)