Sorry Adrian, I’m not sure why that’s happening. It’s clear that the temp table value is empty, and we need to get QuoteNum from somewhere. I have a BPM that is very similar to yours and I set my variable exactly like do you without issue. @josecgomez any ideas?