Symptom
- The issue occurs when trying to use a JavaScript function to convert a string to Base64 encoding in a business rule.
- Error message: "Validation failed: CA-189: Invalid custom rule [invalid JavaScript expression [btoa(XXXX]: ReferenceError: btoa is not defined]" appears when attempting to validate a business rule expression.
Read more...
Environment
- FSM Business Rules
Product
Keywords
generate checklist report, business rules, sap field service management, FSM, CoreSystems.Checklist.GenerateOfflineChecklistReport, generateChecklistReport API, checklist report automation, FSM Webhooks, Base64 encoding, attachment upload, influence request, Smartforms behavior, PDF report generation, base64 encoding, javascript function, sap fsm, business rule validation, unsupported expression, node.js module, sap field service management, validation error, CA-189, javascript compatibility, sap fsm admin , KBA , CEC-SRV-FSM-BR , FSM Business Rules , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.