1

When I change the case status with the API to a case stated which is Closed. Then the end date of the case and the end date of the case roles is not set.

When I change the case status from the user interface the end date is set and the end of the case roles is set.

Is this behaviour correctly or should I file an issue and solve the bug in the API?

1

I'd suggest this is a question of whether there should be low-level and high-level variations of the API. Typically a low-level api is not aware of the semantics (e.g. what "closed" means in real life - it just sets the right field to the value given), whereas the higher level api might. So should there be a separate higher-level function that knows it should call three low-level api functions when "closed", and let the lower-level functions only do one thing each.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.