you should be able to find the steps on 

https://www.servicenow.com/community/next-experience-articles/how-to-use-ui-actions-in-workspaces/ta...

 

you just need to change the field types and it should work fine.

Please give a try and share if you face any issue.

UI Page will not work in workspace UI.

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande