diff --git a/lib/core/form/models/task-process-variable.model.ts b/lib/core/form/models/task-process-variable.model.ts index f0e617bd09..760951539d 100644 --- a/lib/core/form/models/task-process-variable.model.ts +++ b/lib/core/form/models/task-process-variable.model.ts @@ -16,7 +16,7 @@ */ export class TaskProcessVariableModel { - id: string; - type: string; + id?: string; + type?: string; value: string; } diff --git a/lib/process-services-cloud/src/lib/form/models/task-variable-cloud.model.ts b/lib/process-services-cloud/src/lib/form/models/task-variable-cloud.model.ts index bf794026d9..48716d1bfb 100644 --- a/lib/process-services-cloud/src/lib/form/models/task-variable-cloud.model.ts +++ b/lib/process-services-cloud/src/lib/form/models/task-variable-cloud.model.ts @@ -18,8 +18,8 @@ export class TaskVariableCloud { name: string; value: any; - type: string; - id: string; + type?: string; + id?: string; constructor(obj) { this.id = obj.name || null; this.name = obj.name || null;