You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

Flow Schedule type fast formula to schedule a HCM extract for every 3rd monday of the Month

Hi,

I am trying to build the fast formula to schedule the extract every 3rd Monday of the month. Below is the formula written by me. But I am getting type cast error in line 3.

INPUTS ARE SUBMISSION_DATE(DATE), SCHEDULED_DATE(DATE), V_SCHEDULE_DATE(DATE)

IF TO_CHAR(TRUNC((ADD_DAYS(SCHEDULED_DATE,20)),'MM'),'DAY')='1'

THEN V_SCHEDULE_DATE=NEXT_DAY(TRUNC(SCHEDULED_DATE,'MM')+7,'1')

ELSE V_SCHEDULE_DATE=NEXT_DAY(TRUNC(SCHEDULED_DATE,'MM')+14,'1')

NEXT_SCHEDULED_DATE=V_SCHEDULE_DATE

RETURN NEXT_SCHEDULED_DATE

Any help will be appreciated.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!