[AAE-8740] Add a confirmation message in ADW

This commit is contained in:
Ketevani Kvirikashvili
2022-05-31 15:58:39 +02:00
parent 4c70a84568
commit 0ecb7298b9
4 changed files with 119 additions and 62 deletions

View File

@@ -65,6 +65,7 @@ export class FormModel implements ProcessFormModel {
readonly id: string | number;
readonly name: string;
readonly confirmMessage: {show: boolean, message: string};
readonly taskId: string;
readonly taskName = FormModel.UNSET_TASK_NAME;
readonly processDefinitionId: string;
@@ -93,6 +94,7 @@ export class FormModel implements ProcessFormModel {
if (json) {
this.id = json.id;
this.name = json.name;
this.confirmMessage = json.confirmMessage || {};
this.taskId = json.taskId;
this.taskName = json.taskName || json.name || FormModel.UNSET_TASK_NAME;
this.processDefinitionId = json.processDefinitionId;