|
|
|
@ -279,7 +279,8 @@ def pyOpenRPA_Processor(inRequest, inGSettings):
|
|
|
|
|
lActivityTypeListStr += f"{lActivityItem['Def']}; "
|
|
|
|
|
except Exception as e:
|
|
|
|
|
lActivityTypeListStr = "Has some error with Activity Type read"
|
|
|
|
|
if lL: lL.info(f"ServerSettings.pyOpenRPA_Processor. User activity from web. Domain: {inRequest.OpenRPA['Domain']}, Username: {inRequest.OpenRPA['User']}, ActivityType: {lActivityTypeListStr}")
|
|
|
|
|
lWebAuditMessageStr = __Orchestrator__.WebAuditMessageCreate(inRequest=inRequest,inOperationCodeStr=lActivityTypeListStr, inMessageStr="pyOpenRPA_Processor")
|
|
|
|
|
if lL: lL.info(lWebAuditMessageStr)
|
|
|
|
|
# Append in list
|
|
|
|
|
inGSettings["ProcessorDict"]["ActivityList"]+=lInput
|
|
|
|
|
else:
|
|
|
|
@ -290,7 +291,8 @@ def pyOpenRPA_Processor(inRequest, inGSettings):
|
|
|
|
|
lActivityTypeListStr = lInput['Def']
|
|
|
|
|
except Exception as e:
|
|
|
|
|
lActivityTypeListStr = "Has some error with Activity Type read"
|
|
|
|
|
if lL: lL.info(f"ServerSettings.pyOpenRPA_Processor. User activity from web. Domain: {inRequest.OpenRPA['Domain']}, Username: {inRequest.OpenRPA['User']}, ActivityType: {lActivityTypeListStr}")
|
|
|
|
|
lWebAuditMessageStr = __Orchestrator__.WebAuditMessageCreate(inRequest=inRequest,inOperationCodeStr=lActivityTypeListStr, inMessageStr="pyOpenRPA_Processor")
|
|
|
|
|
if lL: lL.info(lWebAuditMessageStr)
|
|
|
|
|
# Append in list
|
|
|
|
|
inGSettings["ProcessorDict"]["ActivityList"].append(lInput)
|
|
|
|
|
# Execute activity list
|
|
|
|
@ -313,7 +315,8 @@ def pyOpenRPA_ActivityListExecute(inRequest, inGSettings):
|
|
|
|
|
lActivityTypeListStr += f"{lActivityItem['Def']}; "
|
|
|
|
|
except Exception as e:
|
|
|
|
|
lActivityTypeListStr = "Has some error with Activity Type read"
|
|
|
|
|
if lL: lL.info(f"ServerSettings.pyOpenRPA_ActivityListExecute. User activity from web. Domain: {inRequest.OpenRPA['Domain']}, Username: {inRequest.OpenRPA['User']}, ActivityType: {lActivityTypeListStr}")
|
|
|
|
|
lWebAuditMessageStr = __Orchestrator__.WebAuditMessageCreate(inRequest=inRequest,inOperationCodeStr=lActivityTypeListStr, inMessageStr="pyOpenRPA_ActivityListExecute")
|
|
|
|
|
if lL: lL.info(lWebAuditMessageStr)
|
|
|
|
|
# Execution
|
|
|
|
|
lResultList = Processor.ActivityListExecute(inGSettings = inGSettings, inActivityList = lInput)
|
|
|
|
|
inRequest.OpenRPAResponseDict["Body"] = bytes(json.dumps(lResultList), "utf8")
|
|
|
|
@ -325,7 +328,10 @@ def pyOpenRPA_ActivityListExecute(inRequest, inGSettings):
|
|
|
|
|
lActivityTypeListStr = lInput['Def']
|
|
|
|
|
except Exception as e:
|
|
|
|
|
lActivityTypeListStr = "Has some error with Activity Type read"
|
|
|
|
|
if lL: lL.info(f"ServerSettings.pyOpenRPA_ActivityListExecute. User activity from web. Domain: {inRequest.OpenRPA['Domain']}, Username: {inRequest.OpenRPA['User']}, ActivityType: {lActivityTypeListStr}")
|
|
|
|
|
lWebAuditMessageStr = __Orchestrator__.WebAuditMessageCreate(inRequest=inRequest,
|
|
|
|
|
inOperationCodeStr=lActivityTypeListStr,
|
|
|
|
|
inMessageStr="pyOpenRPA_ActivityListExecute")
|
|
|
|
|
if lL: lL.info(lWebAuditMessageStr)
|
|
|
|
|
# Execution
|
|
|
|
|
lResultList = Processor.ActivityListExecute(inGSettings = inGSettings, inActivityList = [lInput])
|
|
|
|
|
inRequest.OpenRPAResponseDict["Body"] = bytes(json.dumps(lResultList[0]), "utf8")
|
|
|
|
|