Dataset are only used for reporting and can't be directly used in microflows.
An option could be to use a dataset in a java action.
For more information see this forum post: https://community.mendix.com/link/space/app-development/questions/1803