no, that should just work. You may want to check that you don’t have any extra spaces on the ends of those values.
If that isn’t the problem, might help to contact support so that we can see your workflow run and the resource to confirm what you are saying. You could also drop the screenshots here for the workflow run and product that should’ve been updated (showing the metafield).