ERPNext HRMS icon

ERPNext HRMS

Work with ERPNext/Frappe HRMS v15-v16 documents and methods

Leave Application → Submit

AI-generated

Summary

Submit an existing Leave Application document in ERPNext HRMS by specifying its Document Name and the desired Frappe REST API version.

Inputs

  • API Version — Select the Frappe REST API version (v1 or v2) to use for the submit request.
  • Document Name (required) — The unique identifier of the Leave Application document to submit.

Output shape

a single message string confirming the submit action or an error message if the operation fails

On successful submission, the node returns the response message from the ERPNext API. The output corresponds to the submitted document's confirmation message or details returned by the API.

Examples

Example 1: Submitting a Leave Application

Set resource to 'Leave Application', operation to 'Submit', enter the Document Name of the leave application to submit, and choose the API version (v1 or v2).

Example 2: Using the node in a workflow

Use this operation after creating or retrieving a Leave Application to mark it as submitted in ERPNext, enabling further workflow automation based on the submission status.

Links

Discussion