In Workflow system, How can I detect the current workflow transaction?
Refer the following link for Workflow
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.
you have to write the script for that. Write Script on validation.