General workflow code examples that can be used in conditions, validators, and post-functions,.