fix the bug of receiving feedback if a workflow has reaction group; add
log function to the system