When I run the recording on it’s own in control tower, everything works. But when I run the bigger business process, of which this is the third bot task, it fails on the “Read File” action. The event log shows this error:
Step name ‘Save log file’ has failed. Reason: ‘org.webharvest.exception.ScriptException: Config line 12: single-column block groovy.lang.MissingPropertyException: No such property: success for class: Script24_genScript_154’
And then the event log shows this error:
Step name ‘Save log file’ has failed. Reason: ‘[urn:uuid:A9B8DA784345BED6F0159423250220191] robotics-flow executePlugin exception: [nodeId=http://127.0.0.1:15410] com.workfusion.studio.rpa.recorder.playback.PlaybackException: Error executing TemplateAction[templateName=FileReadAction.ftl,id=3,name=Optional[FileReadAction],parent=1,nextSibling=4,arguments=ActionArguments[path=[C:\Program Files (x86)\Cority\HR Integration Engine\meip.log.txt],targetVariable=[log_text],delay=,timeoutMs=,xsi:type=[recorder:FileReadAction, recorder:FileReadAction],pollingInterval=,active=[true],comment=[reads the contents of the log file],encoding=[UTF-8],awaitTimeout=]]’
However, the file is being read correctly, because the bot continues to execute to the end, correctly. However, the business process does not continue on to execute the next bot in the process.