"Failed to start workflow. Unable to access availability database because the database replica is not in the PRIMARY or SECONDARY role. Connections to an availability database is permitted only when the database replica is in " .
Can you please help me why this error is formed