Change action from string to Action model.
Change action string to be action model in petrinettransition