[AAE-1336] add version on completeTaskForm (#5354)

* add version on completeTaskForm

* fix test
This commit is contained in:
Alex Bolboșenco
2020-01-08 15:52:34 +02:00
committed by Eugenio Romano
parent bea8c61d91
commit 3ecf6a3663
4 changed files with 8 additions and 6 deletions

View File

@@ -291,7 +291,7 @@ export class FormCloudComponent extends FormBaseComponent implements OnChanges,
completeTaskForm(outcome?: string) {
if (this.form && this.appName && this.taskId) {
this.formCloudService
.completeTaskForm(this.appName, this.taskId, this.processInstanceId, `${this.form.id}`, this.form.values, outcome)
.completeTaskForm(this.appName, this.taskId, this.processInstanceId, `${this.form.id}`, this.form.values, outcome, this.appVersion)
.pipe(takeUntil(this.onDestroy$))
.subscribe(
() => {