Automating subitems

To Whom It May Concern: How do I automated subitems using an if/when statement? I trying to create a reminder X-number of days in advance to act on a subitem, but cannot get the wording quite right. Basically, I want it to say, “If a subitem status is (blank), then notify me X-days in advance.”