updated ProcessReference interface in frontend

This commit is contained in:
jasquat 2023-09-22 15:50:13 -04:00
parent ca3563931b
commit e95c093fc2
2 changed files with 2 additions and 4 deletions

View File

@ -132,11 +132,9 @@ export interface ProcessInstanceTask {
} }
export interface ProcessReference { export interface ProcessReference {
name: string; // The process or decision Display name.
identifier: string; // The unique id of the process identifier: string; // The unique id of the process
display_name: string; display_name: string;
process_group_id: string; relative_location: string;
process_model_id: string;
type: string; // either "decision" or "process" type: string; // either "decision" or "process"
file_name: string; file_name: string;
properties: any; properties: any;

View File

@ -958,7 +958,7 @@ export default function ProcessModelEditDiagram() {
'/editor/process-models/:process_model_path/files/:file_name', '/editor/process-models/:process_model_path/files/:file_name',
{ {
process_model_path: modifyProcessIdentifierForPathParam( process_model_path: modifyProcessIdentifierForPathParam(
processReference.process_model_id processReference.relative_location
), ),
file_name: processReference.file_name, file_name: processReference.file_name,
} }