I created 4 cases in Primero with the case_ids below to test syncing multiple Oscar cases and decisions back to Primero. When I run the f1-j1 job, the run log looks correct and I can see all of the cases and services I created in the initial state of the f1-j2 run. So why is only one case ("case_id": "702ea88a-a27a-464a-aa80-fb15872e8b09") being sent to Oscar at the end of the f1-j2 run? See line 2143 in the log.
Cases I created:
case_id: '702ea88a-a27a-464a-aa80-fb15872e8b09'case_id: 'f0a068d7-e45a-4c4d-932c-9434e0948088'case_id: '9daa8f9e-21d8-4aa8-ab05-034107839b1b'case_id: 'fc796dda-4ac2-4040-b46d-b6b99f8a3607'
The job should be sending all 4 cases to Oscar. I can confirm that this was working properly two weeks ago. I created these cases Tuesday afternoon and have updated the f1-j1 cursor to just before they were created.
Bug Report
Background, context, and business value
I created 4 cases in Primero with the case_ids below to test syncing multiple Oscar cases and decisions back to Primero. When I run the f1-j1 job, the run log looks correct and I can see all of the cases and services I created in the initial state of the f1-j2 run. So why is only one case (
"case_id": "702ea88a-a27a-464a-aa80-fb15872e8b09"
) being sent to Oscar at the end of the f1-j2 run? See line 2143 in the log.Cases I created:
case_id: '702ea88a-a27a-464a-aa80-fb15872e8b09'
case_id: 'f0a068d7-e45a-4c4d-932c-9434e0948088'
case_id: '9daa8f9e-21d8-4aa8-ab05-034107839b1b'
case_id: 'fc796dda-4ac2-4040-b46d-b6b99f8a3607'
The job should be sending all 4 cases to Oscar. I can confirm that this was working properly two weeks ago. I created these cases Tuesday afternoon and have updated the f1-j1 cursor to just before they were created.
state.json
f1-j1
f1-j2
adaptor
language-http
expression.js
f1-j2-casesToOscar