mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Clear name and processDefinitionId values after creating a new process
Refs #730
This commit is contained in:
@@ -78,6 +78,8 @@ export class ActivitiStartProcessButton implements OnInit {
|
|||||||
let formValues = this.startForm ? this.startForm.form.values : undefined;
|
let formValues = this.startForm ? this.startForm.form.values : undefined;
|
||||||
this.activitiProcess.startProcess(this.processDefinitionId, this.name, formValues).subscribe(
|
this.activitiProcess.startProcess(this.processDefinitionId, this.name, formValues).subscribe(
|
||||||
(res: any) => {
|
(res: any) => {
|
||||||
|
this.name = '';
|
||||||
|
this.processDefinitionId = '';
|
||||||
this.cancel();
|
this.cancel();
|
||||||
},
|
},
|
||||||
(err) => {
|
(err) => {
|
||||||
|
Reference in New Issue
Block a user