Yes, just use the Create Variable action in your microflow or nanoflow. https://docs.mendix.com/refguide/create-variable/ I hope this helps.