Text this: A guarded workflow language and its formal semantics