Good day! How can you fetch the one who approved/submits the file?
I have 3 workflow state which are:
I have tried using the following:
Pending Request = doc.owner
Pending Approval = doc.modified_by
Approved = doc.modified_by
However the problem with the approved = doc.modified_by is that you need to save it first before you submit the file for it will not change the modified_by name. Is there a way to fetch the one who submit? like doc.submitted_by?
Thank you hope you get my case.