Md Afiq Iskandar 84e8d8e42f Enhance Process Builder with New Variables and External Menu Support
- Added new variables for 'namaAsnaf', 'todoStatus', 'asnafScore', 'resultTimestamp', and 'resultSummary' to improve data handling in process definitions.
- Updated process definition JSON to include new output mappings and enhanced script logic for better API response handling.
- Implemented validation for external menu paths in the menu editor, ensuring proper URL formatting and handling for external links.
- Enhanced the user interface in the menu editor to support external URL inputs, improving user experience when adding or editing menu items.
- Updated API endpoints to skip file operations for external menus, streamlining the process of adding and editing external links.
2025-07-16 11:08:38 +08:00

99 lines
2.3 KiB
JavaScript

export default [
{
header: "",
description: "",
child: [
{
title: "Dashboard",
path: "/dashboard",
icon: "material-symbols:dashboard",
child: [],
meta: {},
},
],
},
// {
// header: "BPM",
// description: "Manage your BPM application",
// child: [
// {
// title: "Form",
// icon: "material-symbols:dynamic-form",
// path: "http://localhost:3000/workflow/7f024ce2-ce5d-43af-a18e-8e10d390e32b",
// external: true,
// },
// ],
// meta: {
// auth: {
// role: ["Developer"],
// },
// },
// },
{
header: "Design & Build",
description: "Create and design your workflows and forms",
child: [
{
title: "Form Designer",
icon: "material-symbols:dynamic-form",
path: "/form-builder/manage",
},
{
title: "Process Designer",
icon: "material-symbols:account-tree",
path: "/process-builder/manage",
},
],
},
{
header: "Execute & Monitor",
description: "Run processes and track their progress",
child: [
{
title: "Process Execution",
icon: "material-symbols:play-circle",
child: [
{
title: "Execution Dashboard",
path: "/execution",
child: [],
meta: {
description: "Monitor active processes and performance metrics",
},
},
{
title: "Start New Process",
path: "/execution/new-case",
child: [],
meta: {
description: "Initiate a new process instance",
},
},
],
},
{
title: "Task Management",
icon: "material-symbols:task",
child: [
{
title: "My Tasks",
path: "/execution/inbox",
child: [],
meta: {
description: "View and complete assigned tasks",
},
},
{
title: "Process History",
path: "/execution/history",
child: [],
meta: {
description: "Review completed processes and audit trails",
},
},
],
},
],
},
];