How can I print the user name’s or employee ID who’s submitted the form through out the workflow,
I have to do print out that user’s full_name?
how to fetch that value?
is there anyone here who can help me?
@bahaou
Thanks and Regards
Shubham
How can I print the user name’s or employee ID who’s submitted the form through out the workflow,
I have to do print out that user’s full_name?
how to fetch that value?
is there anyone here who can help me?
@bahaou
Thanks and Regards
Shubham
{% set modified_by_user_id = doc.modified_by %}
{% set employee = frappe.get_list(“Employee”, filters={“user_id”: modified_by_user_id}, fields=[“name”], limit=1) %}
{{ employee[0].name if employee else “” }}
its done
Is it also possible to fetch the timestamp of the action?
Hi is it possible also to get the timestamp of the activity?
{{ doc.last_modified }}
I’ve tried doing it but it is giving me this result
{{ no such element: erpnext.stock.doctype.material_request.material_request.MaterialRequest object[‘last_modified’] }}