Files
alfresco-ng2-components/lib/process-services-cloud
Alexander Puschkin 8ef0aee768 AAE-36869 Handles error messages with wrong JSON format (#11078)
* Handles error messages with wrong JSON format

Handles cases where the error message from the backend is not a valid JSON.

If the message is not a valid JSON, it displays the error as a string.
This prevents the application from crashing when receiving error messages with wrong JSON format.

Fixes AAE-36869

* SonarCloud solution

* Displays the error message from the response

The error message is now extracted from the response body,
providing more context when process start fails.

This change ensures that the user sees the specific error
message returned by the service when a process instance
cannot be started, improving the user experience.

* Refactors start process template to use `@if` blocks

Migrates the start process component template from `*ngIf` directives to the new Angular `@if` syntax for improved readability and performance.
This change enhances the structure and efficiency of conditional rendering within the template.

* prettier
2025-08-05 09:20:17 +02:00
..
2025-02-12 11:58:57 +00:00
2025-07-03 12:09:53 +02:00
2025-05-15 12:33:07 +01:00
2025-02-12 11:58:57 +00:00
2022-08-25 10:50:30 +01:00
2025-02-12 11:58:57 +00:00
2025-02-12 11:58:57 +00:00

Alfresco Process Services Cloud Library

Contains a variety of components, directives and services used throughout ADF

Documentation

See the ADF Core section of the docs index for all available documentation on this library.

Prerequisites

Before you start using this development framework, make sure you have installed all required software and done all the necessary configuration, see this page.

If you plan using this component with projects generated by Angular CLI, please refer to the following article: Using ADF with Angular CLI

Install

npm install @alfresco/adf-process-services-cloud

Storybook

In case you would like to aggregate all the stories from process services cloud library use

nx run process-services-cloud:storybook

And navigate to http://localhost:4400/.

To create a Storybook process services cloud library build use

nx run process-services-cloud:build-storybook

License

Apache Version 2.0