The quality or state of being random, unpredictable, or disorganized; lack of system or planning.
From 'haphazard' plus the abstract noun suffix -ness, creating a noun that represents the quality of being haphazard rather than the behavior itself.
Abstract nouns ending in -ness are so productive in English that you can almost attach it to any adjective—'haphazardness' lets you talk about chaos as if it were a concrete property.
Complete word intelligence in one call. Free tier — 50 lookups/day.