corrad-bp/docs/json/process-builder/processVariables.json
Md Afiq Iskandar b4eb3265c2 Enhance Process Builder with HTML and Subprocess Node Features
- Introduced new HTML and Subprocess nodes in ProcessBuilderComponents.vue, allowing users to add custom HTML content and execute subprocesses within the process flow.
- Updated ProcessFlowNodes.js to include HtmlNode and SubprocessNode components with appropriate properties and rendering logic.
- Enhanced ProcessFlowCanvas.vue to manage the new node types effectively, ensuring proper integration with existing flow functionalities.
- Improved index.vue to support configuration modals for HTML and Subprocess nodes, enhancing user interaction and customization options.
- Refactored process management logic to accommodate new node types, ensuring seamless integration and consistent user experience across the process builder.
2025-07-10 11:08:16 +08:00

953 lines
25 KiB
JSON

{
"text3": {
"name": "text3",
"type": "string",
"scope": "global",
"value": "Ahmad Bin Ali",
"description": "Applicant name from Section A"
},
"text14": {
"name": "text14",
"type": "string",
"scope": "global",
"value": "",
"description": "Other education specification from Section A"
},
"select1": {
"name": "select1",
"type": "string",
"scope": "global",
"value": "jeniskp_1",
"description": "ID type selection from Section A"
},
"apiError": {
"name": "apiError",
"type": "object",
"scope": "global",
"value": null,
"description": "API error from Submit Profile API"
},
"apiToken": {
"name": "apiToken",
"type": "string",
"scope": "global",
"value": "your-api-token-here",
"description": "API authentication token for external services"
},
"namaBank": {
"name": "namaBank",
"type": "string",
"scope": "global",
"value": "Maybank",
"description": "Bank name from Section B"
},
"radio9Copy": {
"name": "radio9Copy",
"type": "string",
"scope": "global",
"value": "tidak",
"description": "Currently studying status from Section A"
},
"sebabTunai": {
"name": "sebabTunai",
"type": "string",
"scope": "global",
"value": "",
"description": "Cash payment reason from Section B"
},
"verifiedBy": {
"name": "verifiedBy",
"type": "string",
"scope": "global",
"value": null,
"description": "User ID or name of person who verified documents"
},
"apiResponse": {
"name": "apiResponse",
"type": "object",
"scope": "global",
"value": {
"data": {
"id": "APP-2024-001234",
"score": 85,
"status": "pending_verification",
"profileId": "PROF-567890",
"riskLevel": "low",
"documentCount": 3,
"submissionDate": "2024-01-15T10:30:00Z"
},
"status": "success",
"message": "Profile submitted successfully"
},
"description": "API response from Submit Profile API"
},
"namaSekolah": {
"name": "namaSekolah",
"type": "string",
"scope": "global",
"value": "SMK Taman Desa",
"description": "Dependent school name from Section B"
},
"noAkaunBank": {
"name": "noAkaunBank",
"type": "string",
"scope": "global",
"value": "123456789012",
"description": "Bank account number from Section B"
},
"profileData": {
"name": "profileData",
"type": "object",
"scope": "global",
"value": null,
"description": "Data of the profile found"
},
"radioBangsa": {
"name": "radioBangsa",
"type": "string",
"scope": "global",
"value": "melayu",
"description": "Race from Section A"
},
"scriptError": {
"name": "scriptError",
"type": "object",
"scope": "global",
"value": null,
"description": "Error information from script execution"
},
"errorMessage": {
"name": "errorMessage",
"type": "string",
"scope": "global",
"value": null,
"description": "Error message from failed operations"
},
"formJeniskp1": {
"name": "formJeniskp1",
"type": "string",
"scope": "global",
"value": "123456789012",
"description": "MyKad/MyKid number from Section A"
},
"formJeniskp2": {
"name": "formJeniskp2",
"type": "string",
"scope": "global",
"value": "",
"description": "Passport/Police/Military ID number from Section A"
},
"formJeniskp3": {
"name": "formJeniskp3",
"type": "string",
"scope": "global",
"value": "",
"description": "Birth certificate number from Section A"
},
"loginSuccess": {
"name": "loginSuccess",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Flag indicating successful login"
},
"okuAllowance": {
"name": "okuAllowance",
"type": "number",
"scope": "global",
"value": null,
"description": "OKU (disabled person) allowance (RM 247.00)"
},
"paymentReady": {
"name": "paymentReady",
"type": "boolean",
"scope": "global",
"value": true,
"description": "Whether payment processing is ready"
},
"profileFound": {
"name": "profileFound",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Flag indicating if a profile was found"
},
"profileScore": {
"name": "profileScore",
"type": "number",
"scope": "global",
"value": 85,
"description": "Profile score from initial API response"
},
"radioJantina": {
"name": "radioJantina",
"type": "string",
"scope": "global",
"value": "lelaki",
"description": "Gender from Section A"
},
"urgencyLevel": {
"name": "urgencyLevel",
"type": "string",
"scope": "global",
"value": null,
"description": "Urgency level (high/medium/low)"
},
"urgencyScore": {
"name": "urgencyScore",
"type": "number",
"scope": "global",
"value": null,
"description": "Calculated urgency score based on needs"
},
"alamatSekolah": {
"name": "alamatSekolah",
"type": "string",
"scope": "global",
"value": "Jalan Desa Utama, Taman Desa, 58100 Kuala Lumpur",
"description": "Dependent school address from Section B"
},
"applicantName": {
"name": "applicantName",
"type": "string",
"scope": "global",
"value": "Ahmad Bin Ali",
"description": "Applicant name for verification form"
},
"applicationId": {
"name": "applicationId",
"type": "string",
"scope": "global",
"value": "APP-1751871528249",
"description": "Generated application ID from script processing"
},
"carianLoginId": {
"name": "carianLoginId",
"type": "string",
"scope": "global",
"value": null,
"description": "Asnaf ID for login"
},
"daerahSekolah": {
"name": "daerahSekolah",
"type": "string",
"scope": "global",
"value": "Kuala Lumpur",
"description": "Dependent school district from Section B"
},
"dependentName": {
"name": "dependentName",
"type": "string",
"scope": "global",
"value": "Siti Aminah Binti Ahmad",
"description": "Name of dependent"
},
"dependentType": {
"name": "dependentType",
"type": "string",
"scope": "global",
"value": null,
"description": "Type of dependent (school_age_7_17, below_6, etc.)"
},
"hasDependents": {
"name": "hasDependents",
"type": "boolean",
"scope": "global",
"value": true,
"description": "Whether applicant has dependents"
},
"hasOtherNeeds": {
"name": "hasOtherNeeds",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether applicant has other needs"
},
"householdType": {
"name": "householdType",
"type": "string",
"scope": "global",
"value": null,
"description": "Type of household (married_with_dependents, single_with_dependents, etc.)"
},
"kifayahStatus": {
"name": "kifayahStatus",
"type": "string",
"scope": "global",
"value": null,
"description": "Status of Had Kifayah calculation (calculated, pending, error)"
},
"negeriSekolah": {
"name": "negeriSekolah",
"type": "string",
"scope": "global",
"value": "Wilayah Persekutuan",
"description": "Dependent school state from Section B"
},
"nextStepReady": {
"name": "nextStepReady",
"type": "boolean",
"scope": "global",
"value": true,
"description": "Whether ready for next step in process"
},
"nyatakanLain2": {
"name": "nyatakanLain2",
"type": "string",
"scope": "global",
"value": "",
"description": "Other race specification from Section A"
},
"poskodSekolah": {
"name": "poskodSekolah",
"type": "string",
"scope": "global",
"value": "58100",
"description": "Dependent school postcode from Section B"
},
"applicantEmail": {
"name": "applicantEmail",
"type": "string",
"scope": "global",
"value": "ahmad.ali@example.com",
"description": "Applicant email address for notifications"
},
"caraPembayaran": {
"name": "caraPembayaran",
"type": "array",
"scope": "global",
"value": ["akaun"],
"description": "Payment method from Section B"
},
"carianSearchId": {
"name": "carianSearchId",
"type": "string",
"scope": "global",
"value": null,
"description": "IC or Foreign ID used for profile search"
},
"dateMasukislam": {
"name": "dateMasukislam",
"type": "string",
"scope": "global",
"value": "2020-05-15",
"description": "Islam conversion date from Section A"
},
"dependentCount": {
"name": "dependentCount",
"type": "number",
"scope": "global",
"value": 1,
"description": "Number of dependents"
},
"hasBankingInfo": {
"name": "hasBankingInfo",
"type": "boolean",
"scope": "global",
"value": true,
"description": "Whether banking information is provided"
},
"namaTanggungan": {
"name": "namaTanggungan",
"type": "string",
"scope": "global",
"value": "Siti Aminah Binti Ahmad",
"description": "Dependent name from Section B"
},
"riskAssessment": {
"name": "riskAssessment",
"type": "string",
"scope": "global",
"value": null,
"description": "Risk assessment result from verification"
},
"catatanTambahan": {
"name": "catatanTambahan",
"type": "string",
"scope": "global",
"value": null,
"description": "Catatan tambahan berkaitan permohonan"
},
"hasDisasterNeed": {
"name": "hasDisasterNeed",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether applicant has disaster-related needs"
},
"hasHomelessness": {
"name": "hasHomelessness",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether applicant is homeless"
},
"penilaianAwalId": {
"name": "penilaianAwalId",
"type": "string",
"scope": "global",
"value": null,
"description": "Generated ID for the initial assessment"
},
"radioPendidikan": {
"name": "radioPendidikan",
"type": "string",
"scope": "global",
"value": "ijazah",
"description": "Highest education level from Section A"
},
"rejectionReason": {
"name": "rejectionReason",
"type": "string",
"scope": "global",
"value": null,
"description": "Reason for rejection if documents incomplete"
},
"textWarganegara": {
"name": "textWarganegara",
"type": "string",
"scope": "global",
"value": "Malaysia",
"description": "Nationality from Section A"
},
"totalHadKifayah": {
"name": "totalHadKifayah",
"type": "number",
"scope": "global",
"value": null,
"description": "Total calculated Had Kifayah amount"
},
"bangsaTanggungan": {
"name": "bangsaTanggungan",
"type": "string",
"scope": "global",
"value": "melayu",
"description": "Dependent race from Section B"
},
"carianSearchType": {
"name": "carianSearchType",
"type": "string",
"scope": "global",
"value": null,
"description": "Type of search for Carian Profil (e.g., 'ic_search', 'login')"
},
"dokumenBerkaitan": {
"name": "dokumenBerkaitan",
"type": "array",
"scope": "global",
"value": null,
"description": "Upload dokumen yang berkaitan"
},
"eligibilityScore": {
"name": "eligibilityScore",
"type": "number",
"scope": "global",
"value": null,
"description": "Eligibility score from verification API"
},
"hasNoUrgentNeeds": {
"name": "hasNoUrgentNeeds",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether applicant has no urgent needs"
},
"hubunganKeluarga": {
"name": "hubunganKeluarga",
"type": "array",
"scope": "global",
"value": ["anak"],
"description": "Relationship with applicant from Section B"
},
"readyForDecision": {
"name": "readyForDecision",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether ready for decision gateway"
},
"verificationDate": {
"name": "verificationDate",
"type": "string",
"scope": "global",
"value": null,
"description": "Date when verification was performed"
},
"baseKifayahAmount": {
"name": "baseKifayahAmount",
"type": "decimal",
"scope": "global",
"value": null,
"description": "Base Had Kifayah amount for head of household (RM 1,215.00)"
},
"documentsComplete": {
"name": "documentsComplete",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether all documents are complete"
},
"documentsRequired": {
"name": "documentsRequired",
"type": "boolean",
"scope": "global",
"value": true,
"description": "Whether documents verification is required"
},
"hasFamilyConflict": {
"name": "hasFamilyConflict",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether applicant has family conflict"
},
"hasUtilityArrears": {
"name": "hasUtilityArrears",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether applicant has utility arrears"
},
"jantinaTanggungan": {
"name": "jantinaTanggungan",
"type": "string",
"scope": "global",
"value": "perempuan",
"description": "Dependent gender from Section B"
},
"keperluanMendesak": {
"name": "keperluanMendesak",
"type": "array",
"scope": "global",
"value": null,
"description": "Apakah keperluan tuan/puan mendesak sekarang ini?"
},
"komitmenKosTinggi": {
"name": "komitmenKosTinggi",
"type": "string",
"scope": "global",
"value": null,
"description": "Adakah tuan/puan mempunyai komitmen dan pembiayaan melibatkan kos yang tinggi?"
},
"namaPemegangAkaun": {
"name": "namaPemegangAkaun",
"type": "string",
"scope": "global",
"value": "Ahmad Bin Ali",
"description": "Bank account holder name from Section B"
},
"notificationError": {
"name": "notificationError",
"type": "object",
"scope": "global",
"value": null,
"description": "Error from notification sending process"
},
"verificationError": {
"name": "verificationError",
"type": "string",
"scope": "global",
"value": null,
"description": "Error message from verification processing"
},
"verificationLevel": {
"name": "verificationLevel",
"type": "string",
"scope": "global",
"value": "enhanced",
"description": "Level of verification required (standard/enhanced)"
},
"verificationNotes": {
"name": "verificationNotes",
"type": "string",
"scope": "global",
"value": null,
"description": "Notes from document verification process"
},
"carianProfilStatus": {
"name": "carianProfilStatus",
"type": "string",
"scope": "global",
"value": null,
"description": "Status of the Carian Profil step (e.g., 'found', 'not_found', 'login_success')"
},
"childcareAllowance": {
"name": "childcareAllowance",
"type": "number",
"scope": "global",
"value": null,
"description": "Childcare allowance for 12 years and below (RM 330.00)"
},
"dateMasukislamCopy": {
"name": "dateMasukislamCopy",
"type": "string",
"scope": "global",
"value": "2020-06-01",
"description": "KFAM start date from Section A"
},
"dependentAllowance": {
"name": "dependentAllowance",
"type": "decimal",
"scope": "global",
"value": null,
"description": "Allowance per dependent (RM 408.00 for school age 7-17)"
},
"jenisKadTanggungan": {
"name": "jenisKadTanggungan",
"type": "string",
"scope": "global",
"value": "mykad",
"description": "Dependent ID type from Section B"
},
"penilaianAwalError": {
"name": "penilaianAwalError",
"type": "string",
"scope": "global",
"value": null,
"description": "Error message from penilaian awal processing"
},
"verificationStatus": {
"name": "verificationStatus",
"type": "string",
"scope": "global",
"value": null,
"description": "Status of document verification process"
},
"canProceedToKifayah": {
"name": "canProceedToKifayah",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether process can proceed to kifayah analysis"
},
"carianLoginPassword": {
"name": "carianLoginPassword",
"type": "string",
"scope": "global",
"value": null,
"description": "Password for asnaf login"
},
"hasDeathRelatedNeed": {
"name": "hasDeathRelatedNeed",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether applicant has death-related needs"
},
"noTelefonTanggungan": {
"name": "noTelefonTanggungan",
"type": "string",
"scope": "global",
"value": "03-12345678",
"description": "Dependent phone number from Section B"
},
"penilaianAwalStatus": {
"name": "penilaianAwalStatus",
"type": "string",
"scope": "global",
"value": null,
"description": "Status of initial assessment submission"
},
"spouseKifayahAmount": {
"name": "spouseKifayahAmount",
"type": "decimal",
"scope": "global",
"value": null,
"description": "Had Kifayah amount for spouse (RM 780.00)"
},
"bangsaLainTanggungan": {
"name": "bangsaLainTanggungan",
"type": "string",
"scope": "global",
"value": "",
"description": "Dependent other race specification from Section B"
},
"bersekolahTanggungan": {
"name": "bersekolahTanggungan",
"type": "string",
"scope": "global",
"value": "ya",
"description": "Dependent currently studying from Section B"
},
"carianProfilApiError": {
"name": "carianProfilApiError",
"type": "object",
"scope": "global",
"value": null,
"description": "Error from Carian Profil API call"
},
"hasUploadedDocuments": {
"name": "hasUploadedDocuments",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether documents were uploaded"
},
"hasUrgentMedicalNeed": {
"name": "hasUrgentMedicalNeed",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether applicant has urgent medical needs"
},
"hubunganLainNyatakan": {
"name": "hubunganLainNyatakan",
"type": "string",
"scope": "global",
"value": "",
"description": "Other relationship specification from Section B"
},
"kifayahAnalysisError": {
"name": "kifayahAnalysisError",
"type": "object",
"scope": "global",
"value": null,
"description": "Error from kifayah analysis API call"
},
"readyForPersonalInfo": {
"name": "readyForPersonalInfo",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether ready for personal info form"
},
"verificationApiError": {
"name": "verificationApiError",
"type": "object",
"scope": "global",
"value": null,
"description": "Error from document verification API call"
},
"hasHighCostCommitment": {
"name": "hasHighCostCommitment",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether applicant has high cost commitments"
},
"keperluanLainNyatakan": {
"name": "keperluanLainNyatakan",
"type": "string",
"scope": "global",
"value": null,
"description": "Keperluan lain yang dinyatakan oleh pemohon"
},
"kifayahAnalysisResult": {
"name": "kifayahAnalysisResult",
"type": "object",
"scope": "global",
"value": null,
"description": "Result from kifayah eligibility analysis API"
},
"penilaianAwalApiError": {
"name": "penilaianAwalApiError",
"type": "object",
"scope": "global",
"value": null,
"description": "API error from Submit Penilaian Awal API"
},
"tarikhLahirTanggungan": {
"name": "tarikhLahirTanggungan",
"type": "string",
"scope": "global",
"value": "2010-03-15",
"description": "Dependent birth date from Section B"
},
"tempatLahirTanggungan": {
"name": "tempatLahirTanggungan",
"type": "string",
"scope": "global",
"value": "Hospital Kuala Lumpur",
"description": "Dependent birth place from Section B"
},
"verificationProcessed": {
"name": "verificationProcessed",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether verification processing is complete"
},
"warganegaraTanggungan": {
"name": "warganegaraTanggungan",
"type": "string",
"scope": "global",
"value": "Malaysia",
"description": "Dependent nationality from Section B"
},
"kifayahCalculationDate": {
"name": "kifayahCalculationDate",
"type": "string",
"scope": "global",
"value": null,
"description": "Date and time when Had Kifayah was calculated"
},
"noPengenalanTanggungan": {
"name": "noPengenalanTanggungan",
"type": "string",
"scope": "global",
"value": "123456789013",
"description": "Dependent ID number from Section B"
},
"statusKahwinTanggungan": {
"name": "statusKahwinTanggungan",
"type": "string",
"scope": "global",
"value": "bujang",
"description": "Dependent marital status from Section B"
},
"tinggalBersamaKeluarga": {
"name": "tinggalBersamaKeluarga",
"type": "string",
"scope": "global",
"value": "ya",
"description": "Dependent lives with family from Section B"
},
"carianProfilApiResponse": {
"name": "carianProfilApiResponse",
"type": "object",
"scope": "global",
"value": null,
"description": "API response from Carian Profil submission"
},
"carianProfilScriptError": {
"name": "carianProfilScriptError",
"type": "object",
"scope": "global",
"value": null,
"description": "Error from Carian Profil script execution"
},
"chronicIllnessAllowance": {
"name": "chronicIllnessAllowance",
"type": "number",
"scope": "global",
"value": null,
"description": "Chronic illness allowance (RM 243.00)"
},
"kifayahCalculationError": {
"name": "kifayahCalculationError",
"type": "object",
"scope": "global",
"value": null,
"description": "Error from Had Kifayah calculation"
},
"profileSubmissionStatus": {
"name": "profileSubmissionStatus",
"type": "string",
"scope": "global",
"value": "success",
"description": "Status of profile submission"
},
"selectStatusperkahwinan": {
"name": "selectStatusperkahwinan",
"type": "string",
"scope": "global",
"value": "berkahwin",
"description": "Marital status from Section A"
},
"tempatMenetapTanggungan": {
"name": "tempatMenetapTanggungan",
"type": "string",
"scope": "global",
"value": "13 Tahun",
"description": "Dependent residence duration in Selangor from Section B"
},
"verificationApiResponse": {
"name": "verificationApiResponse",
"type": "object",
"scope": "global",
"value": null,
"description": "Response from document verification API"
},
"verificationCompletedAt": {
"name": "verificationCompletedAt",
"type": "string",
"scope": "global",
"value": null,
"description": "Timestamp when verification was completed"
},
"verificationScriptError": {
"name": "verificationScriptError",
"type": "object",
"scope": "global",
"value": null,
"description": "Error from verification response processing script"
},
"kifayahCalculationResult": {
"name": "kifayahCalculationResult",
"type": "object",
"scope": "global",
"value": null,
"description": "Result from Had Kifayah business rule calculation"
},
"kifayahNotificationError": {
"name": "kifayahNotificationError",
"type": "object",
"scope": "global",
"value": null,
"description": "Error from sending Had Kifayah notification"
},
"pendidikanLainTanggungan": {
"name": "pendidikanLainTanggungan",
"type": "string",
"scope": "global",
"value": "",
"description": "Dependent other education specification from Section B"
},
"penilaianAwalApiResponse": {
"name": "penilaianAwalApiResponse",
"type": "object",
"scope": "global",
"value": null,
"description": "API response from Submit Penilaian Awal API"
},
"penilaianAwalScriptError": {
"name": "penilaianAwalScriptError",
"type": "object",
"scope": "global",
"value": null,
"description": "Error from Penilaian Awal script execution"
},
"tarikhMulaKfamTanggungan": {
"name": "tarikhMulaKfamTanggungan",
"type": "string",
"scope": "global",
"value": "",
"description": "Dependent KFAM start date from Section B"
},
"dependentDocumentsComplete": {
"name": "dependentDocumentsComplete",
"type": "boolean",
"scope": "global",
"value": null,
"description": "Whether dependent documents are complete"
},
"documentVerificationResult": {
"name": "documentVerificationResult",
"type": "string",
"scope": "global",
"value": null,
"description": "Result from document verification form (lengkap/tidak_lengkap)"
},
"tarikhMasukIslamTanggungan": {
"name": "tarikhMasukIslamTanggungan",
"type": "string",
"scope": "global",
"value": "",
"description": "Dependent Islam conversion date from Section B"
},
"dependentVerificationStatus": {
"name": "dependentVerificationStatus",
"type": "string",
"scope": "global",
"value": null,
"description": "Dependent verification status"
},
"pendidikanTertinggiTanggungan": {
"name": "pendidikanTertinggiTanggungan",
"type": "array",
"scope": "global",
"value": ["smk"],
"description": "Dependent highest education from Section B"
}
}