scrap value & terminal cash flow

When do we include the scrap value in the terminal cash flow in cash budgeting?

You include the value that the problem tells you if they say something like “the machine can be sold for $X,000 in 5 years”… You don’t include a value and assume the machine is worthless if they say so, or if they don’t say anything, or if they say there is no salvage value.