This commit is contained in:
Peter Maquiran
2021-08-13 16:49:51 +01:00
parent 6856928daa
commit ed9fcbc425
2 changed files with 9 additions and 2 deletions
@@ -109,6 +109,14 @@ export class CreateProcessPage implements OnInit {
//Initialize SubjectTypes Array with the value "Indefinido"
this.selectedTypes = ['99999850'];
let NumberPDPP;
if(this.fulltask) {
if(this.fulltask.workflowInstanceDataFields) {
NumberPDPP = this.fulltask.workflowInstanceDataFields.DispatchNumber
}
}
this.dispatchFolder = {
Nad: 30,
Subject: '',
@@ -118,7 +126,7 @@ export class CreateProcessPage implements OnInit {
SourceId: this.task.workflowInstanceDataFields.SourceID, //FolderId
DeadlineType: '',
SubjectTypes: this.selectedTypes,
NumberPDPP: this.task.workflowInstanceDataFields.DispatchNumber || this.fulltask.workflowInstanceDataFields.DispatchNumber,
NumberPDPP: this.task.workflowInstanceDataFields.DispatchNumber || NumberPDPP
};
this.postData.DispatchFolder = this.dispatchFolder;