Based on this , work
I want to extend the custom XPath below for the following case: I have tasks. A, B, C and D. A, B and C are set to start at 7 in the morning. Sometimes an action fails, and when this happens, the task restarts the application until it is completed. When A, B, and C are done, I want D to fire. What is the XPATH that I would use to create a D trigger ?
Request from the article:
<QueryList>
<Query Id="0" Path="Microsoft-Windows-TaskScheduler/Operational">
<Select Path="Microsoft-Windows-TaskScheduler/Operational">*[EventData
[@Name='TaskSuccessEvent'][Data[@Name='TaskName']='\Ping']]</Select>
</Query>
</QueryList>
source
share