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.

Schedule Extract using Fast Formula

Summary:

Hi All,

We have a requirement to submit the extract at 3 different times (11 AM UTC, 5PM UTC, 11 PM UTC), for this i have created a Flow schedule fast formula with below code. Formula which I have written is running for 5AM UTC,11 AM UTC, 5PM UTC, 11 PM UTC.

can anyone suggest what is the mistake in the below code.


INPUTS ARE SUBMISSION_DATE(DATE), SCHEDULED_DATE(DATE)


SCH_TIME = TO_NUMBER(TO_CHAR(SCHEDULED_DATE, 'HH24'))

SCH_DAY = GET_DATE_DAY_OF_WEEK(SCHEDULED_DATE)

SCH_DATE = TRUNC(SCHEDULED_DATE)


NEXT_SCHEDULED_DATE = ADD_DAYS(SCHEDULED_DATE,0.25)


IF(SCH_TIME = 05) THEN

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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