leave form days calculation

0
I have created an entity by the attributes called StartedDate , FinishedDate , NoOfDays. Based on StartedDate and FinishedDate , in between days should be printed on the NoOfDays by default . For this problem I have to create a microflow.  Can anyone tell how to create the microflow for this in the step wise manner.  
asked
1 answers
0

If you want to see the no. of days filled immediately then you can use an On change microflow on the FinishedDate and StartDate field and then use the daysBetween function to calculate your number of days.

Few checks that you might need to perform before calculating like checking if any of the date is empty or not, otherwise the function might throw error.

answered