Merge branch 'master' into 'BS-11016_ProcessMonitoring-ErrorManagement'
BS-11031 : create API which filter on case which have at least one failed task or the case is in failed state

- Create the new API & Service methods & Requests
- Add integration test
- Add unit tests on API & Service & Builder Factory of SProcessInstance
- Add query tests
- Fiw bug : The start date of a process instance is nerver set.
Merge branch 'CodeFormatMaster' into otr

Conflicts:
	bpm/bonita-api/bonita-common-api-impl/src/main/java/org/bonitasoft/engine/bpm/document/impl/DocumentImpl.java
	bpm/bonita-api/bonita-common-api/src/main/java/org/bonitasoft/engine/api/DocumentAPI.java
	bpm/bonita-core/bonita-document/bonita-document-api/src/main/java/org/bonitasoft/engine/core/document/api/SDocumentMappingCriterion.java
	bpm/bonita-core/bonita-document/bonita-document-api/src/main/java/org/bonitasoft/engine/core/document/model/builder/SDocumentUpdateBuilderFactory.java
	bpm/bonita-core/bonita-document/bonita-document-impl/src/main/java/org/bonitasoft/engine/core/document/model/builder/impl/SDocumentMappingBuilderFactoryImpl.java
	bpm/bonita-core/bonita-operation/bonita-operation-api-impl/src/main/java/org/bonitasoft/engine/core/operation/impl/AssignmentOperationExecutorStrategy.java
	bpm/bonita-core/bonita-process-comment/bonita-process-comment-api/src/main/java/org/bonitasoft/engine/core/process/comment/api/SCommentService.java
	bpm/bonita-core/bonita-process-definition/bonita-process-definition-api/src/main/java/org/bonitasoft/engine/core/process/definition/ProcessDefinitionService.java
	bpm/bonita-core/bonita-process-definition/bonita-process-definition-impl/src/main/java/org/bonitasoft/engine/core/process/definition/model/impl/SFlowElementContainerDefinitionImpl.java
	bpm/bonita-core/bonita-process-document-mapping/bonita-process-document-mapping-api/src/main/java/org/bonitasoft/engine/core/process/document/mapping/DocumentMappingService.java
	bpm/bonita-core/bonita-process-document-mapping/bonita-process-document-mapping-model-impl/src/main/java/org/bonitasoft/engine/core/process/document/mapping/model/archive/builder/impl/SADocumentMappingBuilderFactoryImpl.java
	bpm/bonita-core/bonita-process-document-mapping/bonita-process-document-mapping-model-impl/src/main/java/org/bonitasoft/engine/core/process/document/mapping/model/builder/impl/SDocumentMappingLogBuilderFactoryImpl.java
	bpm/bonita-core/bonita-process-document-mapping/bonita-process-document-mapping-model-impl/src/main/java/org/bonitasoft/engine/core/process/document/mapping/model/impl/SDocumentMappingImpl.java
	bpm/bonita-core/bonita-process-document-mapping/bonita-process-document-mapping-model/src/main/java/org/bonitasoft/engine/core/process/document/mapping/model/builder/SDocumentMappingLogBuilderFactory.java
	bpm/bonita-core/bonita-process-document/bonita-process-document-api/src/main/java/org/bonitasoft/engine/core/process/document/api/ProcessDocumentService.java
	bpm/bonita-core/bonita-process-document/bonita-process-document-api/src/main/java/org/bonitasoft/engine/core/process/document/api/SProcessDocumentService.java
	bpm/bonita-core/bonita-process-document/bonita-process-document-model/src/main/java/org/bonitasoft/engine/core/process/document/model/builder/SAProcessDocumentBuilderFactory.java
	bpm/bonita-core/bonita-process-document/bonita-process-document-model/src/main/java/org/bonitasoft/engine/core/process/document/model/builder/SProcessDocumentBuilderFactory.java
	bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/execution/AdvancedStartProcessValidator.java
	bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/execution/FlowNodeNameFilter.java
	bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/execution/FlowNodeSelector.java
	bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/execution/ProcessExecutorImpl.java
	bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/execution/archive/ProcessArchiver.java
	bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/identity/xml/CustomUserInfoDefinitionImporter.java
	bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/identity/xml/CustomUserInfoValueImporter.java
	bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/search/descriptor/SearchDocumentDescriptor.java
	bpm/bonita-core/bonita-process-engine/src/test/java/org/bonitasoft/engine/execution/ProcessExecutorImplTest.java
	bpm/bonita-expression-resolver/bonita-expression-resolver-api/src/main/java/org/bonitasoft/engine/core/expression/control/api/ExpressionResolverService.java
	services/bonita-data-instance/bonita-data-instance-impl/src/main/java/org/bonitasoft/engine/data/instance/api/impl/DataInstanceServiceImpl.java
	services/bonita-document/bonita-document-api/src/main/java/org/bonitasoft/engine/document/DocumentService.java
	services/bonita-document/bonita-document-impl/src/main/java/org/bonitasoft/engine/document/model/impl/SDocumentBuilderImpl.java
	services/bonita-document/bonita-document-impl/src/main/java/org/bonitasoft/engine/document/model/impl/SDocumentContentBuilderFactoryImpl.java
	services/bonita-document/bonita-document-impl/src/main/java/org/bonitasoft/engine/document/model/impl/SDocumentContentBuilderImpl.java
	services/bonita-document/bonita-document-opencmis/src/main/java/org/bonitasoft/engine/document/impl/AuthAwareCookieManager.java
	services/bonita-document/bonita-document-opencmis/src/main/java/org/bonitasoft/engine/document/impl/CMISDocumentServiceImpl.java
	services/bonita-external-identity-mapping/bonita-external-identity-mapping-api/src/main/java/org/bonitasoft/engine/external/identity/mapping/ExternalIdentityMappingService.java
	services/bonita-identity/bonita-identity-impl/src/test/java/org/bonitasoft/engine/identity/impl/IdentityServiceImplForCustomUserInfoTest.java
Merge branch 'master' into 'BS-11016_ProcessMonitoring-ErrorManagement'
Merge branch 'master' into 'BS-11016_ProcessMonitoring-ErrorManagement'
Merge remote-tracking branch 'origin/master' into BS-11016_ProcessMonitoring-ErrorManagement

Conflicts:
	bonita-integration-tests/bonita-query-tests/src/test/java/org/bonitasoft/engine/core/process/instance/model/ProcessInstanceQueriesTest.java
	bonita-integration-tests/bonita-query-tests/src/test/java/org/bonitasoft/engine/test/persistence/repository/ProcessInstanceRepository.java
	bpm/bonita-core/bonita-process-engine/src/test/java/org/bonitasoft/engine/api/impl/ProcessAPIImplTest.java
	bpm/bonita-core/bonita-process-instance/bonita-process-instance-api/src/main/java/org/bonitasoft/engine/core/process/instance/api/ProcessInstanceService.java
	bpm/bonita-core/bonita-process-instance/bonita-process-instance-impl/src/main/java/org/bonitasoft/engine/core/process/instance/impl/ProcessInstanceServiceImpl.java
	bpm/bonita-core/bonita-process-instance/bonita-process-instance-impl/src/test/java/org/bonitasoft/engine/core/process/instance/impl/ProcessInstanceServiceImplTest.java
Merge branch 'master' into 'BS-11016_ProcessMonitoring-ErrorManagement'
Merge branch 'BS-11016_ProcessMonitoring-ErrorManagement' into 'master'