01-11-2018 01:06 PM
We often send an email in our pipelines have certain errors, and we also have a lot of Tasks that drive the same pipeline(s) but with different params.
So it would be very helpful if when could send the name of the Task that started a failed pipeline within the email, making triage much more expedient and perhaps easier.
Is there and expression function/property that yields information about the Task? I may be missing something in the docs, but I have failed to find anything close.
Thanks,
TK
01-11-2018 05:13 PM
The task name is not available, but the pipeline label is:
01-11-2018 06:05 PM
And in the Pipeline Properties, if you select the checkbox to capture pipeline parameters, it will send the value of the parameters to the pipeline runtime history if the pipeline is run through a task or another pipeline with PipeExecute or ForEach.
01-12-2018 11:02 AM
Thanks for the replies, but we already include the label and other values of interest in the emails.
We specifically need to know which Task (if any) caused the pipeline execution to occur.
I know the Task is available in the runtime stats (under Extra Details tab): I was guessing that there was some “undocumented” way to get at that info.
Thanks,
TK
01-12-2018 12:24 PM
If it is not documented, it is not publicly available. You would need to submit an enhancement request through Support.