Forum Discussion

CurtisEngland__'s avatar
CurtisEngland__
Qrew Member
2 years ago

Pipeline to create multiple records based on date range

I have an application where employees can request vacation using a start and end date.  I have a duration field that calculates how many weekdays are in the range.  I need a pipeline to create a timecard record for each of the days requested once the PTO request is approved by HR, but not sure how to create multiple records based on start date and duration fields. 

Ex: 
Vacation Start Date:  11/3 
Return to Work Date: 11/8 
# of Days off: 3 (weekend in between). 

Now I need to create 3 timecards for 11/3, 11/4, and 11/7​ for payroll.

Any help/guidance would be appreciated!

------------------------------
Curtis England, Trinity
------------------------------
No RepliesBe the first to reply