We are using the Workflow module in ERPNext to monitor some Document states (like Initiated, Started, Ending, Closed, etc.). There are Workflow State fields named ‘Update field’ and ‘Update Value’. I would like to update the ‘actual_end_date’ field in a Document when state changes to ‘Closed’.
What I tried: Update Field: actual_end_date Update Value: frappe.utils.nowdate()
Unfortunately this doesn’t work… For some reason the workflow_state change event is not triggered when the state changes using Actions → [New state name].