Is there any way to write custom functions to action buttons workflow?

I have a workflow where there is a action called issue slip when user clicks it it should go to the fuel slip doctype also the data present in the doctype which has workflow should be taken.

Its like connection in a doctype.

Yeah, use after_workflow_action trigger. frm.selected_workflow_action will give you the action taken.

1 Like

thanks for the help!!