Legacy Automation package
- 최종 업데이트2025/06/19
Legacy Automation package
actions Legacy Automation 내의 package은 bots에서 원활하게 실행되는 것을 보장하기 위해 오직 마이그레이션된 Automation 360에서만 사용합니다. 신규 개발에는 이 패키지를 이용하는 것을 권장하지 않습니다bot.
연산식
연산식은 action 입력 필드에 나타납니다. 이 package에는 다음과 같은 연산식이 있습니다.
| 연산식 | 설명 | 사용 예 |
|---|---|---|
DictionaryToString
|
사전 변수를 문자열 변수로 변환합니다. |
{{$dictionaryVar.LegacyAutomation:dictionaryToString$}}
출력은 다음 값을 가진 문자열 변수입니다. |
GetAbsolutePath
|
경로 시작 부분에 전역 변수를 사용하여 시스템에 있는 모든(Automation Anywhere 이외) 파일의 상대 경로를 입력합니다. Enterprise 11 또는 Enterprise 10에서 GetAbsolutePath에 해당하는 항목이 에 있습니다.
Enterprise 11 또는 Enterprise 10에서 리포지토리의 모든 폴더를 |
|
GetBotPath
|
bot 또는 Enterprise 11
Enterprise 10의 bots 경로 변수 값을 수정하고, 이를 bot 리포지토리에 따라 상대 Automation 360 경로로 대체합니다. bot 경로의 값은 로컬 경로 또는 네트워크 경로의 ApplicationPath를 기반으로 합니다. |
|
GetDecrementedNumber
|
각 변수의 값을 1만큼 줄입니다. 목록, 기록, 배열 또는 테이블 변수의 인덱스 위치에 주로 이용됩니다. |
$myArray[$Loop-Counter-1.LegacyAutomation:getDecrementedNumber$][0]$
루프를 반복할 때마다 |
GetIncrementedNumber
|
각 변수의 값을 1씩 증가시킵니다. 목록, 기록, 배열 또는 테이블 변수의 인덱스 위치에 주로 이용됩니다. |
$Loop-Counter-1.LegacyAutomation:getIncrementedNumber.Number:toString$루프를 반복할 때마다 myNumber의 출력이 1씩 증가합니다. |
GetKeystrokeCount
|
구문/텍스트 내의 키스트로크 값을 계산합니다. 주: [TAB], [END] 또는 [PAGE DOWN]과 같은 특수 문자는 하나의 키스트로크로 계산됩니다.
|
$KeyStroke-CharLength.LegacyAutomation:getKeystrokeCount.String:toNumber$
출력은 각 키스트로크의 평균 지연입니다. |
GetLegacyIndexValue
|
bots 또는 Enterprise 11에서 마이그레이션된 Enterprise 10에 있는 목록 변수의 특정 인덱스 위치에서 값을 검색합니다. 인덱스 위치가 목록 변수의 크기보다 큰 경우, 시스템은 마이그레이션된 bots에 있는 목록의 첫 번째 인덱스 위치에서 값을 검색합니다. | |
ListToString
|
목록 변수를 문자열 변수로 변환합니다. |
{{$listVar.LegacyAutomation:listToString$}}
출력은 다음 값이 포함된 string 변수입니다: |
목록을표로변환
|
목록 변수를 테이블 변수로 변환합니다. |
{{$my-list-variable.LegacyAutomation:listToTable$}}
출력은 각 목록 값이 단일 열의 셀을 나타내는 테이블 변수입니다. |
ParseLegacyKeys
|
변수에 저장된 {1}/Enterprise 10
Enterprise 11의 {4>키 입력 삽입<4} 명령을 실행했을 때 성공하도록 보장합니다. 이 식은 실행 중에 이들을 동등한 Automation 360 키 입력으로 변환합니다. 주: 일부 특수 문자의 모양은 Version 11.3과 Automation 360에서 서로 다릅니다. 예를 들어, Page Up 키가 Version 11.3에서는 [PAGE UP]으로, 그리고 Automation 360에서는 [PAGE-UP]으로 나타납니다. 이 차이는 bot 기능에 영향을 주지는 않습니다.
|
$Test.LegacyAutomation:parseLegacyKeys$
|
ParseVariableOperation
|
Enterprise 10/Enterprise 11 Variable Operation 명령에 제공된 식을 분석합니다. 이 식은 일단 실행하면 Automation 360에서도 Enterprise 10/Enterprise 11 bots과 동일한 출력을 반환하게 됩니다. |
$prompt-assignment.LegacyAutomation:parseVariableOperation$
|
테이블을문자열로
|
테이블 변수를 문자열 변수로 변환합니다. 또한 콜론, 세미콜론 또는 공백과 같은 구분 기호를 이용하여 출력에서 문자열 변수의 값을 구분할 수도 있습니다. |
{{$tableVar.LegacyAutomation:tableToString$}}
출력은 <"delimiter">로는 콜론, 세미콜론 또는 공백을 이용합니다. {{$tableVar.LegacyAutomation:tableToString(<"delimiter">)$}} 예:
출력은 |
TableToList
|
테이블 변수를 목록 변수로 변환합니다. |
{{$DataTable.LegacyAutomation:tableToList(<column_index>)$}} 예: {{$DataTable.LegacyAutomation:tableToList(2)$}}
출력은 다음 값을 가진 목록 변수입니다. |
StringToList
|
문자열 형식 변수를 목록 형식 변수로 변환합니다. |
$SampleString.LegacyAutomation:stringToList$
출력은 "SampleString"과 동일한 값을 갖는 크기 1의 목록 변수입니다. |
StringToTable
|
문자열 형식 변수를 데이터 테이블 형식 변수로 변환합니다. |
$SampleString.LegacyAutomation:stringToTable$
출력은 SampleString과 동일한 크기(1*1) 및 인덱스 [0,0]의 값을 갖는 데이터 테이블 변수입니다. |