Automation Anywhere 설명서 읽기 및 검토

Automation 360

콘텐츠 닫기

콘텐츠

콘텐츠 열기

Create an event trigger

  • 업데이트: 2022/06/17
    • Automation 360 v.x
    • 탐색
    • RPA Workspace
    • API 문서

Create an event trigger

Create an event trigger for a Bot Runner user, role, or bot file. Ensure that the associated users and roles have a Bot Runner license.

Request

POST http://{{ControlRoolURL}}/v1/triggers/triggermapping
Header: X-Authorization <<authentication token>>
인증 API를 이용하여 JSON 웹 토큰을 생성합니다. 인증 API를 참고하십시오.
Request body for users:
{
   "botFileId":106587,
   "botFileLabel":"string",
   "users":{
      "userIds":[
         "985"
      ]
   }
}
Request body for roles:
{
   "botFileId":106587,
   "botFileLabel":"string",
   "roles":{
      "roleIds":[
         721, 645
      ]
   }
}

Request Parameters

Parameter Type Required Description
botFileId Integer Yes Unique identifier of the bot file.
botFileLabel String No Bot file label. It can be PRODUCTION or empty for the latest version.
userIds Array Yes* Enter the IDs of the user. Only the users listed here will be associated with the trigger.
주: The user associated with these userIds must have a Bot Runner license to run the API.
roleIds Array Enter the IDs of the role. Only the roles listed here will be associated with the trigger.
주: The users associated with these roleIds must have a Bot Runner license to run the API.
*One of the previously mentioned parameters is required to create an event trigger.

Response

{
  "triggerMappings": [
    {
      "id": "399",
      "userId": "985",
      "botPath": "Automation Anywhere\\Bots\\botA",
      "modifiedBy": "289",
      "lastModified": "2022-04-06T09:09:43.893256Z",
      "botName": "botA",
      "botId": "106587",
      "botLabel": "string"
    }
  ]
}

Response Parameters

Parameter Type Description
triggerMappings Array The triggerMappings array returns with all the details of the triggerMapping created. Each array element contains the following values:
  • id: ID of the trigger mapping
  • userId: ID of the user
  • roleId: ID of the role
  • botPath: The path of the bot
  • modifiedBy: The ID of the user that did the triggerMapping
  • lastModified: The timestamp of the triggerMapping
  • botName: The name of the bot that got the triggerMapping.
  • botId - The Id of the bot that got the triggerMapping
  • botLabel: The label of the bot that got the triggerMapping
  • licenseFeatures: License assigned to the user
피드백을 보내주십시오