Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finn oppgave selv om saksbehandler har byttet behandlingstype #1258

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ class OppgaveService(
fagsak: Fagsak,
): Pair<FinnOppgaveRequest, FinnOppgaveResponseDto> {
val finnOppgaveRequest = FinnOppgaveRequest(
behandlingstype = Behandlingstype.Tilbakekreving,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hvorfor hjelper det å gjøre dette?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Som nevnt i tekst. Det finnes ingen oppgave lenger med behandlingstype Tilbakekreving siden saksbehandler har endret i Gosys, selv om de har fått beskjed om å ikke gjøre det. Ved å fjerne den sjekken så finner man de. Det er kun lov med en åpen oppgave av en oppgavetype per saksreferanse.

saksreferanse = behandling.eksternBrukId.toString(),
oppgavetype = oppgavetype,
tema = fagsak.ytelsestype.tilTema(),
Expand Down
Loading