My Oracle Support Banner

How to Schedule a BI Publisher Report with Dynamic Date Values (Doc ID 1410194.1)

Last updated on MAY 04, 2024

Applies to:

BI Publisher (formerly XML Publisher) - Version 10.1.3.4.0 to 11.1.1.6.0 Trial [Release 10.1 to 11.1]
Information in this document applies to any platform.

Goal

Defined two date parameters:
Today: {$SYSDATE()$} MM-dd-yyyy HH:mm:ss
Yesterday: {$SYSDATE()-1$} MM-dd-yyyy HH:mm:ss
In View mode: they show current date and time:
Example:
Today: 02-08-20xx 07:21:14
Yesterday: 02-07-20xx 07:21:14

When submitting a scheduled job, they are fixed at time the job is created,
they are not updated at run time.

How can a scheduled job be created where the date values "yesterday" and "today" are correct
when the report is run, rather than fixed as the values when the schedule was first created?


Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.