SAP Knowledge Base Article - Preview

3806234 - How to print Logs to Automation Script output; Error 'the path '/LOG_VARIABLE' is invalid' when returning {LOG_VARIABLE}

Symptom

  • Try to print logs to Managed Code/Execution Log Details Output without creating a new fact sheet field.
  • When running an automation script with the return statement as a string containing log messages (ex: return {logs}), Managed Code/Execution Log shows a successful response, while Automation/Execution Log shows an error: "the path '/logs' is invalid".


Read more...

Environment

  • Product: SAP LeanIX solutions
  • SAP LeanIX - Application Portfolio Management

Product

SAP LeanIX solutions all versions

Keywords

automation execution log, managed code output, graphql patches, invalid path, logging, debug output, automation return value, execution log details, leanix apm, patch format, javascript logging, fact sheet path , KBA , LIX-ADM-AUTOMATIONS , LeanIX administration Automations , How To

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.