Trying to create a Dynamic Workflow to update prices automatically every year, derived FinancialYearStart and FinancialYearEnd using Formula Tool.
Can a condition be created keeping these in mind :-
1. Filter every STARTDATE greater than FinancialYearEnd. (This can be done easily using Filter Tool).
2. Check if the StartDate introduced is before the Start of the Financial Year or Post the Financial Year Start.
3. If introduced prior to FinancialYearStart Start then pick the Maximum value available in STARTDATE (ONLY IN THE SCENARIO WHEN STARTDATE is neither equal nor greater than FINANCIALYEARSTART)
4. Check if new price has been introduced in the Middle of the Year, if yes then only retrieve the StartDates greater or equal to FinancialYearStart.
(I have tried using this summarise tool but that way it wont be Dynamic, and will have to update workflow everyyear.)