엑셀이나 기타 응용 소프트웨어로 작업하다가 실행시키면
백그라운드 프로세스나, 현재 사용중인 소프트웨어의 충돌로 에러가 날 수 있는데,
이에 대하여 백그라운드 프로세스에 어떤 것이 있는지 확인하면 미리 예외 처리를 할 수 있다.
(예를 들어 엑셀이라던가... 엑셀이라던가... 엑셀이라던가...)
이런식으로 Process.~ 에서는 다양한 프로세스에 관련된 메서드를 확인할 수 있다.
Kill Process로 백그라운드 프로세스를 종료시키는 방법이 아니더라도
Throw 같은 액티비티로 에러를 주거나, Add Log Field 액티비티로 로그를 출력할수도 있다.
** Add Log Field : https://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
'프로그래밍 > RPA' 카테고리의 다른 글
"", Empty, Nothing, Null, vbNullChar, vbNullString, Missing 차이점 (0) | 2020.06.22 |
---|---|
Exception의 종류와 발생조건 (2) | 2020.06.05 |
Write data horizontal 셀 한개씩 가로로 쓰기 / 엑셀 컬럼 인덱스 구하기 (0) | 2020.06.01 |
Library를 사용한 Custom Activity / 내가 만든 액티비티 사용하기 (User defined package sources inManage Packages) (2) | 2020.05.25 |
UiPath Assistant 20.4.1 : Orchestrator-Robot-Machine 연동하기 (0) | 2020.05.21 |