Hello Lucas.
Thank you for your post.
Sorry to hear that documentation didn't answer all your doubts and questions. Documentation is on a continuous improvement and we will consider your feedback.
Regarding you questions:
1- Case Management framework will not automatically update the case status , even when there is a Case State Machine configured. You will have to do it manually:
- At the UI level: use Case_GetAllPossibleStatus API to show possible next status defined in the Case State Machine.
- Programmatically: you can use 2 actions: Case_UpdateStatus or Case_CloseActivity. The second one can close activity and case. Both validate status against state machine.
2- I believe we will need more details on this question. Can you please detail? What is the use case to get the exception?
Nevertheless, let me add this information, perhaps it answers your question. In CMf, exceptions are never aborted. Exceptions are bubbled up and you can handle it at your application.
Hope I could help you Lucas. Let us know if you need any other information. And your feedback is always very important to us.
Best regards,
Ricardo Lopes