I have a flow which can be triggered using a button within a sharepoint list for a selected item to send an email. The button is made using conditional formatting.
Sometimes, sporadically, the flow will fail. On inspection it is always for the same reason when using Sharepoint Get Item: Item Not Found. This is because the ID being supplied by the manual trigger 'for this list item' is supplying the wrong ID. The ID is actually 27, but is being supplied as 100000027.
I have seen people encounter this problem before on other posts, but there has been no resolution to the problem.
Of course, I could check if the ID value contains '1000000', and if so remove it. But this doesn't seem satisfactory, and worry that this won't always work.
Does anyone have any ideas to help?
Image of the custom formatted sharepoint list within Teams:
Image of the relevant custom formatting for the flow button:
Image of the inputs given to the 'for selected list item' flow trigger with ID highlighted:
Image of the failed flow with incorrect ID highlighted: