Hi!
I'm working with versioning and trying to trigger a flow when it's a major version. So I've got a calulated field that gives me the value which flow sees, but I want to check that the value after . is .0 and not .x. Is it possible to do that ?

Hi!
I'm working with versioning and trying to trigger a flow when it's a major version. So I've got a calulated field that gives me the value which flow sees, but I want to check that the value after . is .0 and not .x. Is it possible to do that ?
Hi @ Nichochicho,
Where is the value that you mentioned is saved in?
Could you please share more details about the value after decimal point?
Do you want to get the value after decimal point and check if the value is “0” or “x” ?
What would you do when the value after decimal point is “0” or “x”?
I have made a test on my side, and I would get the value from a sharepoint item of a list, the sharepoint list as screenshot below:
The “versions” column is a “single line of text” type column.
I have created a flow as screenshot below:
The expression in the Compose as below:
first(skip(split(triggerBody()?['versions'],'.'),1))
The expression of Condition as below:
@equals(outputs('Compose'), '0')
When an item is created in the list, and the value of “versions” column is “version.0”, the flow would run successfully as below:
When an item is created in the list, and the value of “versions” column is “version.x”, the flow would run successfully as below:
Regards,
Alice Zhang