From 7cbff0cdf2736c9e26ec562b65e6d60e00e951cc Mon Sep 17 00:00:00 2001 From: jasquat Date: Fri, 22 Sep 2023 15:50:13 -0400 Subject: [PATCH] updated ProcessReference interface in frontend --- spiffworkflow-frontend/src/interfaces.ts | 4 +--- spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/spiffworkflow-frontend/src/interfaces.ts b/spiffworkflow-frontend/src/interfaces.ts index bb10092c..9d5f5c1d 100644 --- a/spiffworkflow-frontend/src/interfaces.ts +++ b/spiffworkflow-frontend/src/interfaces.ts @@ -132,11 +132,9 @@ export interface ProcessInstanceTask { } export interface ProcessReference { - name: string; // The process or decision Display name. identifier: string; // The unique id of the process display_name: string; - process_group_id: string; - process_model_id: string; + relative_location: string; type: string; // either "decision" or "process" file_name: string; properties: any; diff --git a/spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx b/spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx index fdd633f0..15d894d5 100644 --- a/spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx +++ b/spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx @@ -958,7 +958,7 @@ export default function ProcessModelEditDiagram() { '/editor/process-models/:process_model_path/files/:file_name', { process_model_path: modifyProcessIdentifierForPathParam( - processReference.process_model_id + processReference.relative_location ), file_name: processReference.file_name, }