Understanding Flow Schedules
Use the Schedule option on the flow submission page to run the flow at your defined time and frequency. The default schedule is to submit a flow as soon as possible.
- Monitor status of scheduled flows
- Troubleshoot flow schedules
- Cancel scheduled flows
Monitor Status of Scheduled Flows
Use the View Flows and Checklist pages to monitor the status of scheduled flows. For example, if you have scheduled and submitted a flow, the scheduled flow displays in the View Flows and Checklist pages with a status of Pending. The flow displays the flow submission date as evaluated by the flow parameters, and not the actual dates that the flow is run.
This is because when a flow is scheduled, an instance of the flow is created and the application evaluates flow parameters, whereas, just before task execution, the aplication considers the task parameters.
Therefore, if you need to define a date parameter , for example, the flow submission date, to be set based on a defined value, you must define the value at the flow task level.
The status of the flow changes to In Progress only after the flow gets executed on a date as defined at the flow task parameter level.
Troubleshoot Flow Schedules
When there is an application server failure, the flow instance ends. You must resubmit the flow once the server resumes. You don't have to reschedule the recurring flows scheduled to run at a later date.
Cancel Scheduled Flows
|
Frequency |
Status |
Available Actions |
|---|---|---|
|
Once |
Started |
Skip |
|
Once |
Not Started |
Cancel flow |
|
Recurring |
Not Started |
Cancel the current flow, cancel the recurring flow, or cancel the current and recurring flows |
Flow Scheduled Date
- Parameter Basis: Context
- Basis Value: System Date
This ensures that the task considers the scheduled date as the task date parameter.
- Parameter Basis: Post SQL Bind
- Basis Value: Use an SQL to define the date
-
Parameter Basis: Post SQL Bind
-
Parameter Value:
select PROCESS END DATE+30 from dual
Submission of Scheduled Flows
- Use the original flow for adhoc submissions, where you can enter a date parameter value instead of using the schedule, and default the date defined at the task flow level.
- Use a copy of the flow if you wish to use the schedule and the date defaulting at flow task parameter level as per how you have defined the date.