Can you log your ID_Number variable and ensure it's the correct value and format?
Thanks Courtney, can you point me in the direction of how I'd do that?
There should be an action called "Log in History List" that you can use. In the field in that action, put your variable (Insert Reference). Then you can go to your workflow history and see it after you run the workflow.
Cheers. Should it show up here?
I believe so, yes. I'm in O365 so mine looks a touch different, but that looks like the spot!
Cheers. Nothing's showing up.
Ahh, I thought that was before you ran the workflow. What does your log to history action look like? For me to get to my history, here's my path:
I click the ellipses > Advanced > Workflows
Which brings me to a Workflow "Status" page for that particular item.
And I can click on my running or completed workflows to see the history. I use the Log to History action super frequently on my workflows because it is an invaluable debugging tool.
Is this the same path you followed (or similar)? Did you add the log to history, publish, then run the workflow? Did you put any additional text in your Log to History action (like "Device_ID == {Device_ID}") so you would see if it logged at all? Did you make sure you were checking the workflow history on the item you ran the workflow on?