cancel
Showing results for 
Search instead for 
Did you mean: 

AutomateC 사용법 관련 문의드립니다.

gimgeumjeong_kr
Level 3

AutomateC.exe 실행 시, 아래와 같은 에러 발생하는 상황입니다.

속성 내용 함께 첨부드리오니 해결 방법 부탁드리겠습니다.

<AutomateC 속성>

gimgeumjeong_kr_0-1727334730267.png

 

대상(T) : "C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe" /run X240821_메가커피_입출고수불비교 /user admin PW

시작위치(S) : "C:\Program Files\Blue Prism Limited\Blue Prism Automate"

 

<AutomateC.exe 실행 시 에러>

gimgeumjeong_kr_1-1727334651942.png

 

 

4 REPLIES 4

HongJunShin
Staff
Staff

김금정님 안녕하세요,

블루프리즘 코리아 신홍준 대리입니다.

HongJunShin_0-1727400655068.png

CMD창을 관리자권한으로 실행 시킨 후 AutomateC.exe의 경로 /help 한번 넣어보시겠어요?

또한, AutomateC의 자세한 명령어 목록들입니다.

https://docs.blueprism.com/bundle/blue-prism-enterprise-7-3/page/helpCommandLine.htm

감사합니다.

신홍준 드림.

 

gimgeumjeong_kr
Level 3

말씀해주신대로 /help 입력한 뒤 나오는 프롬프트 내용 공유드립니다.

 

Microsoft Windows [Version 10.0.19045.4291]
(c) Microsoft Corporation. All rights reserved.

C:\Users\DW-RT>"C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe" /help
Blue Prism Command-line Interface Version 7.1.2.3518
Copyright Blue Prism Limited 2004 - 2024
HELP -
Actions:
/help

/locale xx-XX (set non-default locale)

/createdb <password> (drop if already exists, then recreate database)
/replacedb <password> (clear if already exists, then rebuild tables)
/upgradedb <password>
/license <licensefile>
/removelicense <licensefile>
/regobject <clsid>
/regwebservice <name> <url>
/unregwebservice <name>
/report <filespec>
/rolereport <filespec> - Writes out a report on all the roles and associated permissions
for each user in the system to the specified file.
/elementusage <filespec>
/listprocesses
/refreshdependencies {force}

/import <filespec> [/forceid {new|<guid>}] [/overwrite]
/importrelease <filespec>
/export <processname>
/exportpackage <packagename> [/release <releasename>]
/publish <processname>
/unpublish <processname>
/publishws <processname> <servicename> [/forcedoclitencoding] [/useGlobalNamespace]
- If the optional /forcedoclitencoding is present then the Web Service
will always return SOAP messages in Document\Literal form.
- If the /forcedoclitencoding parameter is not present, then
you can force the use of a Global Namespace.
/unpublishws <processname>

/fontimport <filespec>

/createqueue <keyfield> <running> <maxattempts>
/setencrypt <encrypter-name>
/resetencrypt
/exportqueue <filespec>
/queueclearworked /queuename <name> [/age <age>]
- Delete items marked as completed or exception from the named queue
If /age switch is used, only worked items which are older than the
specified age are deleted from the queue.
Otherwise all worked items are deleted from the queue.
/deletequeue

/poolcreate /pool <name> - create a resource pool with the specified name
/pooldelete /pool <name> - delete the specified resource pool
/pooladd /pool <name> [/resource <name>] - add a resource to the specified pool.
If no resource name is specified,
the local resource is added.
/poolremove [/resource <name>] - remove a resource from the pool in which it resides.
If no resource name is specified, the local
resource is removed from its pool.

/startschedule [/schedule <name>|...]
/deleteschedule [/schedule <name>|...]
/viewschedtimetable {<name> | <no-of-days> <date>} [/schedule <name>|...]
[/format {csv|txt}]
/viewschedreport {<name> | <no-of-days> <date>} [/schedule <name>|...]
[/format {csv|txt}]

/setev <name> <datatype> <value> <description>
/deleteev <name>
/archive
/restorearchive
/setarchivepath <path>

/run <processname>
/getauthtoken
/status <sessionid>
/resourcestatus <resourcename> <limit number> <limit type>
- Report sessions for a given resource name, the results can be limited to a specific period
- to list all resources use [All] as the resource name
- by providing a limit number and type (m = minutes, h = hours, d = days, mm = months)
- e.g. /resourcestatus ABC:8181 1 d would return all sessions for the named resource that started in the last day
- Requires user credentials to be supplied via the /user switch
/getlog <sessionid>
/requeststop <sessionid|sessionnumber>
/wslog on|off
/getauditlog
/getbod <objectname>
/genivbowrapper <name> - generate a wrapper VBO for the specified Internal
Business Object. ? can be specified to list the
available object names.
/serverconfig <name> <connection> <port>
- Creates or updates the Blue Prism application server configuration identified by the specified name, setting the database connection name and listening port to the provided values.
- If no encryption schemes have been configured for the server configuration, a new encryption scheme record will be created.
By default the scheme will be named Default Encryption Scheme and it will be configured to use AES 256 (AESCryptoService) and a randomly generated key.
Alternatively use the /encryptionscheme switch to define the settings that will be used.
- An optional /connectionmode switch can be used to set the connection mode.
- An optional /serviceaccount switch can be used to set the client credentials for the service account that is used by Blue Prism to communicate with Authentication Server.

/ascrconfig <servername> <conntype> [1 - grpc | 2 - wcf] <hostname> <port> <connectionmode> [1 - Certificate | 2 - Windows (WCF only) | 3 - Insecure] <certificatename> <clientcertificatename> <ascrservercertstore> <ascrclientcertstore> Certificate parameters are only required if certificate(1) is selected for mode
/reencryptdata [/batchsize <size>] [/maxbatches <number>]
/configencrypt [default | thumbprint] [/forceconfigencrypt] - show configencrypt method, or encrypt server config using default Blue Prism encryption, or own certificate with specified thumbprint. Force override of error - a warning is displayed if possible.
/createcredential <credname> <username> <password> [/description <string>]
[/expirydate <date>] [/invalid <flag>] [/credentialtype <string>]
- Use "" to set an empty username or password
- credentialtype must be one of the following;
- General, BasicAuthentication, OAuth2ClientCredentials, OAuth2JwtBearerToken, BearerToken, DataGatewayCredentials.
/updatecredential <credname> [/username <username>] [/password <password>]
[/description <string>] [/expirydate <date>] [/invalid <flag>] [/credentialtype <string>]
- credentialtype must be one of the following;
- General, BasicAuthentication, OAuth2ClientCredentials, OAuth2JwtBearerToken, BearerToken, DataGatewayCredentials.
/setcredentialproperty <credname> <propertyname> <propertyvalue>
- Create a New credential property or update it if it already exists
/mapauthenticationserverusers <inputcsvpath> <outputcsvpath>
- Map users between Blue Prism and Authentication Server
- inputcsvpath: The path to a csv file which contains details of the users to be mapped. Read access required by AutomateC.
- outputcsvpath: The path to which a csv file containing the users that could not be mapped will be written. Read and write access required by AutomateC.
/getblueprismtemplateforusermapping <outputcsvpath>
- Create a csv template populated with Blue Prism native users for mapping to Authentication Server users.
- outputcsvpath: The path to the csv file. Read and write access required by AutomateC.
/getauthenticationservertemplateforusermapping <outputcsvpath>
- Create Authentication Server user template csv file for user mapping.
- outputcsvpath: The path to the csv file. Read and write access required by AutomateC.
/setkerberosrealm <kerberosrealm>
- Sets the Kerberos realm for a connection. The realm will be set for the last used connection or the connection specified with /dboconname.
- kerberosrealm: The Kerberos realm of the Service Principal Name configured for Blue Prism Server.
/forcentlm <flag>
- Sets the force NTLM flag for a connection. The flag will be set for the last used connection or the connection specified with /dboconname.

Options:
/dbconname <name> - specify the connection to use
/user <name> <pwd> - specify Blue Prism authentication details
/sso - authentication with Blue Prism using single sign-on
/wsauth <name> <pwd> - specify authentication details for web service, with
/regwebservice
/maxdbver - specifies maximum database version to go to when creating or
upgrading
/startp <xml> - use with /run to set startup parameters
/resource <target>
/port <portnumber>
/forceid {new|<guid>} - force an /import'ed process to use the specified
guid or a new one
/overwrite - overwrites a process/object with the same ID as the one being
/imported
/queuename <name> - use with /createqueue /exportqueue and /deletequeue
/queuefilter <filtername> - use with /exportqueue to specify the data of
interest
/clearexported - delete exported items from the database as part of
/exportqueue
/from yyyyMMdd - set inclusive minimum date cutoff for archiving
/to yyyyMMdd - set non-inclusive maximum date cutoff for archiving
/age <value> - set maximum age for archiving or clearing worked items from queues
e.g. 1y=1 year, 6m=6 months, 2w=2 weeks, 7d=7 days
/process <name> - optionally, with /archive, only archive logs for this
particular process
/timeout <millis> - set timeout - optionally used with /regwebservice
/objectname <name> - use with /regwebservice to set the name used for the
business object
/connectionmode <value> - use with /serverconfig to set connection mode of server.
Default value is 0. Available connection modes are -
0 = WCF: SOAP with Message Encryption & Windows Authentication
1 = WCF: SOAP with Transport Encryption & Windows Authentication
2 = WCF: SOAP with Transport Encryption
3 = .NET Remoting: Secure
4 = .NET Remoting: Insecure
5 = WCF: Insecure
/encryptionscheme <name> [<encryptionmethod>] - use with /serverconfig to create an encryption scheme with the specified name on the server.
Default encryption method value is 3. Available methods are -
1 = Triple DES (192 bit) (Retired)
2 = AES-256 RijndaelManaged (256 bit)
3 = AES-256 AesCryptoService (256 bit)
/ordered <value> - use with /serverconfig to enable ordered sessions (True by default)
/secure <value> - use with /serverconfig to set security - True (default)
or False. NOTE: this has now been deprecated and you should
now use /connectionmode instead.
/delete - use with /archive to delete only, without exporting first
/setallowanonresources <value> - set resources to allow anonymous logins
/enforcecontrollinguserpermissions <value> - When set enforces the permissions of the controlling user for create, start and delete session.
/password <password> - use with /updatecredential to update the password for an existing credential. Use "" to set an empty password.
/description <string> - use with /updatecredential or /createcredential to update/set the credential description.
/username <username> - use with /updatecredential to update the credential username. Use "" to set an empty username.
/expirydate <date> - use with /updatecredential or /createcredential to update/set the credential's expiry date.
Date must be in format yyyyMMdd.
/invalid <flag> - use with /updatecredential or /createcredential to specify whether a credential should be marked as invalid.
/credentialtype <string> - use with /updatecredential or /createcredential to specify the credential's type.
Must be one of the following credential types: General, BasicAuthentication, OAuth2ClientCredentials, OAuth2JwtBearerToken, BearerToken, DataGatewayCredentials
/serviceaccount <clientid> <clientsecret>
Use with /serverconfig to specify the client id and the client secret of the service account that is used by Blue Prism to communicate with Authentication Server.
/requestactivedirectorycacherefresh - use with /user <name> <pwd> or /sso to refresh Active Directory cache.

Notes:
When using the /createdb, /replacedb and /upgradedb options with Windows
Authentication the <password> parameter is ignored, but something
(anything!) must be supplied

C:\Users\DW-RT>

gimgeumjeong_kr
Level 3

 문의 건 관련하여 해결했습니다.

bp 로그인을 안한 상태로 automateC를 돌려서 생긴 오류라 로그인 후 재실행하니 정상작동 확인했습니다. 감사합니다.

김금정님 안녕하세요~

블루프리즘 코리아 신홍준 대리입니다.

해결되셨다니 다행이네요 ㅎㅎ

추가적으로 AutomateC 커맨드 관련한 문서 링크 첨부 드립니다.

https://docs.blueprism.com/bundle/blue-prism-enterprise-6-7/page/helpCommandLine.htm

해당 Docs를 참고가 되시면 좋겠습니다~

 

감사합니다.

신홍준 드림.