Can we use the microflow to determine whether this data already stored in the entity?

I am new to mendix. I would like to know can we use the decision part in microflow to determine the new created data has been created once.  I want to make different action on those two results.
1 answers

Hey there,

What you can do is try one of the following things:

1 Check with an isNew function

Use the isNew function within the decision to check if your object has been created before. This is handy to quickly check if you are editing or creating. If you want to see if you already have an object in the databased with similar attributes, use number 2

2 Check with an Xpath retrieve

If you perform an Xpath retrieve, you can define attributes using the form of:

[object/attribute = attribute]

check the following documentation:

by doing so you can create a retrieve that finds all objects that are similar. If any are found you can determine that you have already created the object.