I've encountered an issue with a complex Office Scripts that involves passing parameters from previous steps in PowerAutomate. It was functioning properly, but suddenly stopped working since last Monday. I'm unsure whether the script has become too intricate or if there have been changes in the PA environment. The script employs interface options and nested functions without any apparent syntax errors. However, when I add more lines of code to enhance its functionality, a parameter box (referred to as draftTab) disappears within PA. Identifying which specific lines are causing the issues has proven challenging. Do you have any insights on resolving this matter?
Script provided below:
//SCRIPT CODE HERE
I attempted to identify problematic lines by removing all code and painstakingly re-entering each line, yet remained unable to pinpoint the source of the issue. Additionally, reintroducing the Excel connector within PA resulted in failure.