I agree with Breno that a script button to run a data action to do this will be your best solution.
Check out this post on the dev center on one way to build the data action
https://developer.genesys.cloud/forum/t/custom-action-create-callback/2671/10
------------------------------
Steve Alix
EDCi
------------------------------