In Workflow system, How can I detect the current workflow transaction?
1 Like
Refer the following link for Workflow
https://frappe.github.io/erpnext/user/manual/en/setting-up/workflows.html
When you create the Workflow for any DocType, a hidden Custom Field workflow_state will be added to you doctype. That will represents the Workflow State of the transaction.
@Sangram Thank you for your responding
Iām asking about, how to get the current transaction after user click on action button,
I want to detect the transaction from the code, to make some validation.
I think the field that you have took about is workflow_state, I need the transaction one.
1 Like