Linking custom fields to a workflow