Hi ,
I have this same issue, I have 4 leave types (TimeOff, Annual Leave, Casual, Sick) which user selects and enters the data according to the selected leave type in PowerApps,
I insert the data into SP list by using patch function in which if the user selects LeaveType as "Time Off" then only TimeOff related things are inserted in SP List.
Now, I am running a flow whenever an item is created an email is sent to the manager and then he/she accepts or rejects.
I have used all the fields in the Start and Wait For Approval Step to show the details whichever leave type is selected
The First FormatDateTime expression is for Time Off Date, the last two are Start Date and End Date used in Leave Types (Annual, Casual and Sick).
So, when the user posts TimeOff record, the start and end date are null in that record, so my flow shows an error.
and this happens with Annual, Casual and Sick, when the user create this, then TimeOff Date goes null.
So, my Flow Run Fails..
Any Help?
@Mira_Ghaly
@v-xida-msft

Report
All responses (
Answers (