But if you want to edit an object, you need a input of that object. And thus you can distinct if it is an edit or not.
Also, trying to cover to cases in a single microflow, because you don’t want to have multiple microflows; my advise, create 2 microflows. That will make it a more maintainable app.
Or you have a right case to do it in a single microflow, but can’t distinct that from your question.
Currently this is not possible. You cannot pass a primitive/constant as a parameter when calling a Micoflow/Nanoflow from a page. There is already an idea for that in the idea forum: https://forum.mendix.com/link/ideas/2159