How to Mark an In-Progress Item as Failed in Orchestrator?

If you check the question again, you’ll see that I’m specifically looking to perform this action from Orchestrator, not from Studio by writing code. I’m trying to understand how a developer can mark an “In Progress” item as failed and retry it directly through Orchestrator.

Also the one you suggested would not work with in progress item isnt it?