Pass collection and docName to 'after submit' useragent trigger