bug fix in Agent interaction

dev-linux
Ivan Maslov 4 years ago
parent 4ccbe5036b
commit d31437c3e8

@ -392,7 +392,7 @@ def pyOpenRPA_Agent_O2A(inRequest, inGSettings):
del lReturnActivityItemDict["CreatedByDatetime"] del lReturnActivityItemDict["CreatedByDatetime"]
if lL: lL.info(f"Activity item to agent Hostname {lInput['HostNameUpperStr']}, User {lInput['UserUpperStr']}. Activity item: {lReturnActivityItemDict}") if lL: lL.info(f"Activity item to agent Hostname {lInput['HostNameUpperStr']}, User {lInput['UserUpperStr']}. Activity item: {lReturnActivityItemDict}")
inRequest.OpenRPAResponseDict["Body"] = bytes(json.dumps(lReturnActivityItemDict), "utf8") inRequest.OpenRPAResponseDict["Body"] = bytes(json.dumps(lReturnActivityItemDict), "utf8")
lDoLoopBool = False # CLose the connection lDoLoopBool = False # CLose the connection
else: # no queue item - sleep for the next iteration else: # no queue item - sleep for the next iteration
time.sleep(1) time.sleep(1)
except Exception as e: except Exception as e:

Loading…
Cancel
Save