Updating a Case Order Number via Function

Personally, I find the “Set Field” widget is more reliable than Fill by Query. If I’m setting more than a handful of fields, I switch to a custom code block for ease of use. I just don’t use Fill By.