In your ADF Pipeline activity, set two different pipeline activities from the If condition activity based on success or failure (the green and red arrows).
Then inside each pipeline activity, you can add a set variable, get variable and your adb notebook activities. In set variable, you would be setting the status of your activity using the standard pipeline parameters.
Hope this helps...Cheers..
Uma Mahesh D