Trey
Trey3w ago

Unable to pass the global results object to inline script

Attempting to pass the global results object for a flow into an inline script, but the value of the argument is empty. Inline python script:
def main(results: dict[str, Any]):
return results # this returns an empty dict. Expecting it to return all of the results collected during flow run.
def main(results: dict[str, Any]):
return results # this returns an empty dict. Expecting it to return all of the results collected during flow run.
When i click on the 'In' tab at the bottom of the inline script flow chart block, it shows all of the results data, but when i click on the 'Out' tab, it shows {}. Not sure if this is intended behavior or a bug.
1 Reply
Trey
TreyOP3w ago
passing individual items appears to be working.

Did you find this page helpful?