엑셀이나 기타 응용 소프트웨어로 작업하다가 실행시키면

백그라운드 프로세스나, 현재 사용중인 소프트웨어의 충돌로 에러가 날 수 있는데,

이에 대하여 백그라운드 프로세스에 어떤 것이 있는지 확인하면 미리 예외 처리를 할 수 있다.

(예를 들어 엑셀이라던가... 엑셀이라던가... 엑셀이라던가...)

 


이런식으로 Process.~ 에서는 다양한 프로세스에 관련된 메서드를 확인할 수 있다.

Kill Process로 백그라운드 프로세스를 종료시키는 방법이 아니더라도

Throw 같은 액티비티로 에러를 주거나, Add Log Field 액티비티로 로그를 출력할수도 있다.

 

** Add Log Fieldhttps://forum.uipath.com/t/add-log-field/5496

 

Add log field

Hi All, Could anyone explain about add log field activity.Please don’t direct me to the activities guide. Regards, Rahul

forum.uipath.com


** 관련 URL

https://forum.uipath.com/t/check-if-excel-process-is-open-and-close/224619

 

Check if excel process is open and close

Hello everybody, I need to check if excel is currently open and if true, end it. I use get processes (output= “currentProcess”) to check all processes and then use an if activity with this condition: Process.ToString.Contains(“EXCEL”) Unfortunately

forum.uipath.com

 

+ Recent posts