> For the complete documentation index, see [llms.txt](https://eohelp.weaver.com.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eohelp.weaver.com.co/design-a-new-workflow/2-new-workflow-leave-application.md).

# 2 New workflow-Leave Application

## &#x20;1 Fill in basic information of the workflow

<figure><img src="https://lh5.googleusercontent.com/POYTdRRxTZOnDzjqHbk6Vs-xh0MxRO1AtfULucCHdeIBfVztAS3TujEQJDKGXZITHvjkjtmly3CEpEArL_CYbM4kHGWe6AWnTfAp-AgWv2ZgCWfiHyN5HrhENq3Bm-3a-BcPAKMsaSDwUgT6i2d96kI" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh5.googleusercontent.com/CjUZKSOamrXChsiASpZz7IBiHESX-R2mz9ISHqEVp6vT-54yTDEWps8Wae2xJ_UhDGIl29BSNaITwPS81GRAMSSUPJ-IwUUXCTqA7USsk6mKINbH44XasZ6hRWsZkEUHpspPmZzOuS9vQC-uG2kC-nU" alt=""><figcaption></figcaption></figure>

## 2 Design the approval flow, configure nodes and exit

<figure><img src="https://lh5.googleusercontent.com/SCBu_DzPdSraQ4AByMIntz-mA9mXniWQPqKXsIqZjzdIhNSy7JocX9CSZcLtd5ziV6MSTRx8z3IbQOhiFea514ChBgAx3EgvWL3OyzV0qId2afzWvJykWaLmcEFYMuTMDIeM_3G5iJzH4d6mLiApz0Q" alt=""><figcaption></figcaption></figure>

## 3 different flow design mode

<figure><img src="https://lh4.googleusercontent.com/2ypFuZP1UEvgKYJiHwpu-8NRJVA_X7OGDsnXgUNw9K-sO2pN2yfa-nIWEfrLuXjR3vV3LcpMUQpEcCBuz2XUTgULRWrBMJhGHkyy8z14gm31OEcVQ0AzO2wdFTrckcdzxgWy5m9VNDuya6bwEY76yRA" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh4.googleusercontent.com/9CsgNxDeAHz4l1Kcw_StI7s-6o8a2ypbDifLl5ABnh9RiXcrV_gH-rjnFvnTyRw5Ksysrhsj1jnJ_wzZhAL8CV7fHWfWf4w1XDE43rGoJIEjXhO9UG_xIlMhifBd3QWKDhIC50J6N6XkcqZmoTpIjBk" alt=""><figcaption></figcaption></figure>

For requester, make all staff able to initial the request

<figure><img src="https://lh5.googleusercontent.com/dVVkp9ucU53b91jI4QSg4AluTyBHQO14Zpj01XUiVonlglSw10UilAGPyS4ytdPWosLB9nHu7zKCnKemPmqcPCBxeSkK8sUp6NOtmCDYvybUogk71sxwrZoNvXMJWJVNrET2Bb5iGNLYql022oHe8a0" alt=""><figcaption></figcaption></figure>

Do validation check for leave period with leave balance, if not fulfil the requirement, then show error message

<figure><img src="https://lh3.googleusercontent.com/oUy6OhkEHJP5-ihMugCvnlzOY96QzxGFdUsphQsCSk8uSyJSQGXVMB-mJR1TPh80TySB8ldz_u8EjwPzuOiEs3Rl3dEwSxgA3zz6CCa1ga9G5axOQEGlKAHsLsXBqWajJUV-_jRcxVDElSPskpn51xM" alt=""><figcaption></figcaption></figure>

So when user try to submit a leave request, if the leave period > leave balance, system will prompt the error message and stop use to submit the request.

## 3 Set up different exit condition

<figure><img src="https://lh5.googleusercontent.com/_WR8rBtknzsPVvxD17_NAONzJJXXPVmR9MUL_fPykA5ecrQtKOXJ2XJTfXYm2YjtutS5NQyZzy_hPl1CMBk3ul3J8HMe4FQ-hMMWDgBrCpBJRocdmDio6qiu-TBCR0m3TI4QMHDN7FESjDc0QGs9ojg" alt=""><figcaption></figcaption></figure>

## 4 Define field operation&#x20;

Normal field: Edit, non-edit, required

Attachment field: Edit, non-edit. Required, Download, View, Delete, Edit

<figure><img src="https://lh6.googleusercontent.com/x-Sk-MNDIF6X8Y7ffZFgF_wtIigh5158KzQfwrfSzU001aWB8A-5DytTD6Q1ByeZMvRf8gORMftSUWJPZCfi3lGkEgjyET0_JDO7_SJMDD2N4sBwKm1s5F38bgkTVfl0ptGfoenaVrAegCtps3bxYbU" alt=""><figcaption></figcaption></figure>

For required filed, there is a condition control, which mean in some scenario, it must be required, for other scenario, it’s not required. Condition define is similar with other editor

<figure><img src="https://lh4.googleusercontent.com/akmrcs-mEIC1T_znZ3tQizQ9Vv6McGPTXxF_ecJfPHEPFDJxLppy2Bm6pULpGKp2rNYNs7c1p7JHTYop0UXjSoOoyYmP1OnGVNKIS1rEPaRl_UZ6g13GwIugWTiXdibq-0uheUDMk666TDNgTiOepKU" alt=""><figcaption></figcaption></figure>

## 5 Set timeout reminder

Step 1: define timeout duration

Step 2: Choose give a reminder to PIC or just directly auto flow to next node

<figure><img src="https://lh5.googleusercontent.com/fjIGv4Fl_VJ6U0Xt8jAqKcx5OFE1a3uKQlyednqxZx2NfKIfY-aDu9xZRFhm8SmxOv8YMsRc5lEsnoCFl8c6qOgXJENGiSp_RJKeUcpPtQv8ejof8rRSdhQxJ-mYAmN-WOksJXfOH_duyfTEXP8r-9Y" alt=""><figcaption></figcaption></figure>

## 6 Reject

<figure><img src="https://lh5.googleusercontent.com/tJkcOAYofJK0tfu1Z7QBS8xVokJIeVmwi5Pi4wKpx2ABskU5j9pATGh-HbAivQ6a0Y77Ox92-fQOcTiEXBPbKIUUUI_vFe25tDCciCd1iUGF2SEidvzhk7cyFu2glmQSXxz92m73Jdejhv7vFzDui_k" alt=""><figcaption></figcaption></figure>

## 7 Outsend data

When workflow arrive specific node, trigger an action to update/delete/add new records in other system or in e-office 11.0 other table

Example:&#x20;

1. Update leave information in Leave Management
2. Add new product information in product management

<figure><img src="https://lh4.googleusercontent.com/xp9WzigthEmExycC9Kby3EuxAzAKlmZekuxLE9EPKT_CpyGnK9tKZmHy1MnntdkE7YXaRP_65vZfY39V-qq9UQTxvYmw6Rrn7h6H12SiPEkCGww3PhI6-NS_mCafcdiBL-Zqff_TzkeUbZYmVbE37m0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh3.googleusercontent.com/r04KKaFvQE5Z5jEDhUTPxHCrO6GQoiclx7-rYuvDi4ey-KLN1o8GkjnynNB9fX_gDgpeBsq1NEOmevQ4obMqQu3q679aHn0GTVxuBdH4gkLyjlQfb55mnWM84Cu4PcomskCs6Ru2UIasuiYpy6-v_VE" alt=""><figcaption></figcaption></figure>

Here we choose the send data to internal Leave module

By select one field from left side and one module field, then click the right arrow, a mapping relationship will be created.

<figure><img src="https://lh5.googleusercontent.com/eQcofvjWjxLIz7rznSR59OD4hcKAQBbgqJjtWELVhjRPe78x9l6zGA7O652_eWi_lMTPDx3Qs-DY9QVisQrpkbPgj4fDu5Fq-xkv7gec6SjjW9LhB66Dt4hUarLkIDGLZpVDDAjGHaZ2xRL9Mre5DoQ" alt=""><figcaption></figcaption></figure>

## 8 Monitoring setting

<figure><img src="https://lh6.googleusercontent.com/jk5RWiyMEZ8NztVQN6lNxScOtEMn-vWdWlwSK93b-cPJj5BFTeJlZxfo36-zD0h6pOZTBQWUuTJwvvKUjcuU3hY5UGqgmjd2XeR1ILuSeJf6-iwbUl3KGLJAKn7hV8hXZZgDH2xbah400YJsk55PYcw" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh3.googleusercontent.com/VEz3JGAw1JAF64TPRttEXCH8ikaxrXYWScgbn5lxBaVJjAIPj3ReOTKP9bLwdRZTYAjmjitzQp6dtWLOiN9tto6HSswp2vfdLZIpIeHz178_VgGgO740E-NfdW_L415Wd85IX3jCUwh0LPlHszCSrfI" alt=""><figcaption></figcaption></figure>

So assign the user could perform the monitor action from the Workflow->Monitor
