I am building an app that will send signature requests to a third-party API.
I’d like for the DocType (Signature Request) to submittable. When the user submits the Signature Request, I need to send an API call to the API, which will return a unique ID. I’d like to add that ID to the DocType.
From what I can tell, Frappe won’t let me modify the Document using the on_submit event, because it fires AFTER the document has been submitted.
Is there a way I can modify a Document after it’s been submitted?