How about
import System
static def GetAttributeValue(Article):
Value = Article.CreationDate.AddYears(2)
return Value
remove the tick box where it says to do the dependencies manually, and drag over the Creation Date attribute as this is what needs to trigger the calculuation