Share via

How to get the start time of the dataflow activity within my pipeline?

yogeshReddy 20 Reputation points
2024-01-02T15:25:42.9833333+00:00

I have pipeline with multiple data flow activities, for the logging purpose i need to log the start and end time of each data flow,

I used something like this, but getting an error the startTime parameter doesnot actis in activity output,

Any alternate suggestions? Thank you in advance!!

@convertTimeZone(activity('my_df_activity').output.startTime, 'UTC', 'Pacific Standard Time')

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Amira Bedhiafi 41,131 Reputation points Volunteer Moderator
    2024-01-02T20:28:22.1966667+00:00

    Based on this old thread, you can use @string(utcnow()) expression for StartTime and EndTime Set variable activities.

    enter image description here

    To send these time_difference over mail you can refer this link

    Reference - https://learn.microsoft.com/en-us/answers/questions/662759/capture-and-log-start-and-end-timestamp-of-adf-pip.html


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.