Skip to content

Commit

Permalink
fix: handle taskId on task completed
Browse files Browse the repository at this point in the history
  • Loading branch information
devmiguelangel committed Jul 18, 2024
1 parent 2541869 commit 7c8638c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/task.vue
Original file line number Diff line number Diff line change
Expand Up @@ -684,8 +684,13 @@ export default {
data.event === "ACTIVITY_ACTIVATED"
&& data.elementType === 'task'
) {
if (!this.task.elementDestination?.type) {
this.taskId = data.taskId;
}
this.reload();
}
if (data.event === 'ACTIVITY_EXCEPTION') {
this.$emit('error', this.requestId);
}
Expand Down

0 comments on commit 7c8638c

Please sign in to comment.