Skip to content

Issue with Passing Today's Date in Recurring Vertex AI Pipeline Runs #3771

Open
@MuhammadRehmanRabbani

Description

@MuhammadRehmanRabbani

Hi Team,

I’ve been trying to create a recurring run on Vertex AI which should execute daily at a specific time. The goal is to pass today's date for each run. I’m using the date parameter while creating the run on Vertex AI, but I've run into an issue.

I attempted to use the macro kfp.dsl.PIPELINE_JOB_SCHEDULE_TIME_UTC_PLACEHOLDER as follows:

{{$.pipeline_job_schedule_time_utc}}

When I pass this macro as the date parameter, the component that reads the date receives the exact same macro value (i.e. {{$.pipeline_job_schedule_time_utc}}), and the output of the component is:

1970-01-01T00:00:00Z

I’m not sure why I’m not getting today's date, as expected. Could anyone help me understand what might be causing this issue? Or if there is any other approach to pass today’s date to each recurring run?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions