Process Instance should be the key field in the state record.