Senses
任事 to hold a post
To hold a position or take up a task; to be in office or in charge of affairs.
任事 to assign tasks
To appoint someone to a post or assign a task to a person.
任事 anything
Whatever the matter; any matter at all. Often used in the erhua form 任事儿 in colloquial contexts.