I have a generic function that is to create an action. Actually the action type is created as a symbol but I would like to pass a string to define it to the action type.