Salesforce Process Automation rules such as assignment rules, auto-response rules, escalation rules, and workflow rules, aren’t triggered when Omni-Channel routes a work item to an agent and the agent accepts the work.
But, when an agent accepts the work via Omni-Channel widget and then updates/edits and saves the work item record, automation rules are triggered.
Reference Article:
https://help.salesforce.com/s/articleView?id=sf.omnichannel_routing.htm&type=5
How to update the Case Owner to Chat agent when the Chat is accepted using Record-Triggered Flow in Salesforce?
How to update the Case Owner to Chat agent when the Chat is accepted using Trigger in Salesforce?