@5minds/processcube_app_sdk
Version:
The SDK for ProcessCube Apps
29 lines (28 loc) • 1.52 kB
TypeScript
import React from 'react';
import { BpmnType } from '@5minds/processcube_engine_sdk';
type ProcessInstanceInspectorProps = {
processInstanceId: string;
showFinishTaskButton?: boolean;
showFlowNodeExecutionCount?: boolean;
showFlowNodeInstancesListButton?: boolean;
showGoToFlowNodeButton?: boolean;
showRetryFlowNodeInstanceButton?: boolean;
showProcessRefreshButton?: boolean;
showProcessRetryButton?: boolean;
showProcessTerminateButton?: boolean;
showTokenInspectorButton?: boolean;
loadingComponent?: React.ReactNode;
onFinish?: (taskContext: {
processInstanceId: string;
flowNodeInstanceId: string;
flowNodeId: string;
taskType: BpmnType.userTask | BpmnType.manualTask | BpmnType.untypedTask;
}) => void | Promise<void>;
};
/**
* Displays a BPMN diagram with additional information about the process instance.
* The diagram is interactive and allows the user to inspect the flow node instances and navigate to related flow nodes.
*/
export declare function ProcessInstanceInspector(props: ProcessInstanceInspectorProps): string | number | bigint | true | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined>;
export declare const ProcessInstanceInspectorNextJS: React.ComponentType<ProcessInstanceInspectorProps>;
export {};