Issue #21434:create and utilitize function postEvent
Merge pull request #75 from garyhgohoos/21434

Issue #21434:create and utilitize function postEvent