Configure Process Builder trigger for RPA Bots for Salesforce
- Aktualisiert: 2021/10/19
Configure Process Builder trigger for RPA Bots for Salesforce
Process Builder is one mechanism to create a flow with an event-triggered bot. Mit dieser Methode können Nutzer Prozesse automatisieren, indem sie ein Auslösekriterium für den bot festlegen.
Vorbereitungen
- Es muss der Nutzerberechtigungssatz für die AAI RPA Bots Lightning-Komponente aktiviert sein.
- Das Objekt und die Kriterien (vom Administrator definiert) sowie das durch Verwendung des Ablaufs zu erzielende Resultat müssen verfügbar sein.
- Familiarity with mapping an object ID field to the record ID field required by the Run Bot class.
- Bot Configurations record ID if you are planning on Running Bot by Bot Configuration.
Prozedur
- From Salesforce navigate to .
- Click New and enter the following details for the process flow: a process name, an API name, a description, and how the process starts.
- Klicken Sie auf Speichern.
- Choose the object and specify when to start the process.
- Define your criteria.
- Click Add Action.
- In the Select and Define Action panel, enter configurations for your bot.
- Choose Apex for the Action Type.
-
Choose one of the following from Apex Class.
- Run Bot By Bot Configuration
Use saved Bot Configurations from the Salesforce Connector.
- Enter the Bot Configuration ID.
- Choose the Record ID.
The Type should be Reference and the value should match the event Object.
- Bot mit API-Schlüssel ausführen
Verbinden Sie sich zum Ausführen eines gespeicherten bots mit Ihrem Control Room, indem Sie Ihre Anmeldeinformationen eingeben.
- Geben Sie Ihren CR-Nutzernamen ein.
- Geben Sie die CR-URL ein.
- Geben Sie den CR-API-Schlüssel ein.
- Geben Sie den Bot-Namen ein.
- Legen Sie die Ausführen-als-Nutzer-ID für den Bot Runner-Nutzer, der den bot ausführen soll, fest.
- Click Add Row.
- Select Run As User Id for Field.
- Enter the Bot Runner in Value.
- Optionally, click Add Row to select more parameters to use in the bot output such as Device Pool Id, RecordId, and custom variables.
- Variable names must match the exact name of the input variable defined within the bot.
Wenn Sie mehrere Variablennamen angeben möchten, müssen diese mit dem „Pipe“-Symbol (senkrechter Strich) getrennt werden, z. B.: inputOne|inputTwo|inputThree.
- Variable values are passed to the bot in the same order as variable names are provided (for example, as in the previous step inputValue1|inputValue2|inputValue3).
- Variable names must match the exact name of the input variable defined within the bot.
- Bot mit Verbindung ausführen
Verwenden Sie eine Live-Verbindung zu Ihrem Control Room, um einen gespeicherten bot auszuführen.
- Geben Sie den Bot-Namen ein.
- Geben Sie die Verbindungs-ID ein.
- Legen Sie die Ausführen-als-Nutzer-ID für den Bot Runner-Nutzer, der den bot ausführen soll, fest.
- Click Add Row.
- Select Run As User Id for Field.
- Enter the Bot Runner in Value.
- Optionally, click Add Row to select more parameters to use in the bot output such as Device Pool Id, RecordId, and custom variables.
- Variable names must match the exact name of the input variable defined within the bot.
Wenn Sie mehrere Variablennamen angeben möchten, müssen diese mit dem „Pipe“-Symbol (senkrechter Strich) getrennt werden, z. B.: inputOne|inputTwo|inputThree.
- Variable values are passed to the bot in the same order as variable names are provided (for example, as in the previous step inputValue1|inputValue2|inputValue3).
- Variable names must match the exact name of the input variable defined within the bot.
- Bot mit Passwort ausführen
Verbinden Sie sich zum Ausführen eines gespeicherten bots mit Ihrem Control Room, indem Sie Ihre Anmeldeinformationen eingeben.
- Geben Sie den Bot-Namen ein.
- Geben Sie Ihren CR-Nutzernamen ein.
- Geben Sie die CR-URL ein.
- Geben Sie das CR-Passwort ein.
- Legen Sie die Ausführen-als-Nutzer-ID für den Bot Runner-Nutzer, der den bot ausführen soll, fest.
- Click Add Row.
- Select Run As User Id for Field.
- Enter the Bot Runner in Value.
- Optionally, click Add Row to select more parameters to use in the bot output such as Device Pool Id, RecordId, and custom variables.
- Variable names must match the exact name of the input variable defined within the bot.
If you are specifying multiple variable names, use a pipe to separate each (fo example, inputOne|inputTwo|inputThree).
- Variable values are passed to the bot in the same order as variable names are provided (for example, as in the previous step inputValue1|inputValue2|inputValue3).
- Variable names must match the exact name of the input variable defined within the bot.
- Run Bot By Bot Configuration
- Klicken Sie auf Speichern.