- Visão geral
- Adobe Sign
- Alteryx
- Amazon Comprehend
- Amazon Connect
- Amazon Rekognition
- Amazon Textract
- Box
- Notas de versão
- Sobre o pacote de atividades Box
- Corrigir XAML após atualização do pacote
- Compatibilidade do projeto
- Configuração
- Referências técnicas
- Box Scope
- Commit Session
- Create File Version Session
- Create Upload Session
- Upload Part
- Delete Old Version
- Get Versions
- Promote Version
- Upload File Version
- Copy File
- Delete File
- Download File
- Get File Comments
- Get File Info
- Get File Info Details
- Get File Lock Info
- Lock File
- Move File
- Unlock File
- Fazer upload do arquivo
- Copy Folder
- Create Folder
- Delete Folder
- Get Folder Info
- Get Folder Items
- Rename Folder
- Search For Content
- Executar Método
- Cognitivo
- DocuSign
- Notas de versão
- Sobre o pacote de atividades DocuSign
- Compatibilidade do projeto
- Configuração
- DocuSign Scope
- Invoke DocuSign Operation
- Create Envelope
- Create Envelope And Send
- Create Envelope From Template
- Create Envelope Recipients
- Get Document
- Get Documents
- Get Envelope
- Get Form Data
- Send Envelope
- Update Envelope
- List Attachments
- List Custom Fields
- List Documents
- List Envelope Status Changes
- List Recipients
- Create Bulk Send List
- Create Bulk Send Request
- Get Bulk Send List
- Get Bulk Send Lists
- Create Template Custom Fields
- Create Template Recipients
- Get Template
- List Templates
- Google Vision
- Jira
- Notas de versão
- Sobre o pacote de atividades Jira
- Compatibilidade do projeto
- Configuração
- Jira Scope
- Executar Método
- Add Attachment
- Delete Attachment
- Download Attachment
- Get Attachments
- Add Comment
- Delete Comment
- Get Comments
- Create Component
- Delete Component
- Get Components
- Search Dashboards
- Create Filter
- Get Filters
- Create Issue Link
- Delete Issue Link
- Get Issue Link Types
- Get Issue Links
- Add Watcher
- Assign Issue
- Clone Issue
- Create Issue
- Delete Issue
- Get Issue
- Get Watchers
- Remove Watcher
- Search Issues Using JQL
- Transition Issue
- Update Issue
- Create Project
- Delete Project
- Get Project Types
- Get Projects
- Update Project
- Get Transitions
- Create User
- Delete User
- Find Users
- Marketo
- Microsoft Dynamics
- Microsoft Dynamics Finance and Operations
- Microsoft Teams
- Notas de versão
- Compatibilidade do projeto
- Configuração
- Escopo do Microsoft Teams
- Criar Equipe
- Create Team from Group
- Obter equipe
- Obter equipes
- Criar canal
- Excluir canal
- Obter canal
- Obter canais
- Canal de Atualização
- Obter chat
- Obter chats
- Obter membros do chat
- Get message
- Get Messages
- Obter respostas de mensagem
- Reply To Message
- Enviar mensagem
- Create Event
- Delete Event
- Obter evento
- Obter eventos
- Obter presença do usuário
- Microsoft Translator
- Microsoft Vision
- Oracle Integration Cloud
- Sobre o pacote de atividades Oracle Integration Cloud
- Compatibilidade do projeto
- Configuração
- Referências técnicas
- Escopo do Processo Oracle
- Obter instâncias do processo
- Obter Instância do Processo
- Iniciar Processo
- Atualizar estado da instância do processo
- Adicionar Comentário da Instância do Processo
- Obter anexos de instância do processo
- Download Attachment
- Obter Tarefas
- Get Task
- Tarefa de Ação
- Reatribuir Tarefa
- Add Task Comment
- Obter anexos de tarefas
- Obter responsáveis pela tarefa
- Oracle NetSuite
- Salesforce
- Notas de versão
- Sobre o pacote de atividades Salesforce
- Compatibilidade do projeto
- Configuração
- Início rápido
- Escopo do Aplicativo Salesforce
- Create Bulk API Job
- Get Bulk API Job
- Get Bulk API Job Results
- Start or Abort Bulk API Job
- Assign File
- Download File
- Fazer upload do arquivo
- Composite Request
- Excluir Registro
- Obter Registros da Exibição de Lista
- Get Record
- Insert Record
- Update Record
- Upsert Record
- Execute Report
- Execute SOQL
- Format Column Names
- Formatar Rótulos e Valores
- Lightning REST API Request
- Pesquisar
- SAP BAPI
- ServiceNow
- Slack
- Smartsheet
- Notas de versão
- Sobre o pacote de atividades Smartsheet
- Compatibilidade do projeto
- Configuração
- Referências técnicas
- Início rápido: trabalhando com linhas
- Smartsheet Application Scope
- Anexar arquivo
- Attach URL
- Delete Attachment
- Get Attachment
- List Attachments
- Add Comment
- Delete Comment
- Get Comment
- List Discussions
- Copy Folder
- Create Folder
- Delete Folder
- Get Folder
- List Folders
- Add Group Members
- Get Group
- List Groups
- Remove Group Member
- Get Report
- List Reports
- Adicionar linhas
- Copy Rows
- Create Discussion on Row
- Delete Rows
- Get Row
- List Rows
- Move Rows
- Update Rows
- Copiar Planilha
- Create Sheet
- Create Sheet From Template
- Download Sheet
- Get Sheet
- List Sheets
- Update Sheet
- Adicionar Usuário
- Get User
- List Users
- Remover Usuário
- Copy Workspace
- Create Workspace
- List Workspaces
- Import Sheet from CSV / XLSX
- Invoke Smartsheet Operation
- Search Activity
- Send via Email
- Share Object
- SuccessFactors
- Tableau
- Twilio
- Workato
- Workday
Atividades de integrações clássicas
Visão geral
O objetivo deste guia é ajudá-lo a criar um exemplo de trabalho que usa as seguintes atividades do Microsoft Dynamics 365:
Este exemplo de trabalho permite que você verifique rapidamente a conexão com seu aplicativo do Microsoft Dynamics 365 e se familiarize com os tipos de dados de entrada/saída da atividade.
Depois de concluir as etapas deste guia, você terá uma sequência de automação que faz o seguinte:
- Estabelece uma conexão com seu aplicativo Microsoft Dynamics 365 (Get Credential e Microsoft Dynamics Application Scope).
- Insere um novo registro de conta (Inserir Registro).
- Pesquisa o registro da conta inserida (Search Records).
- Atualiza o campo site do registro da conta (Atualizar registro).
- Verifica se o registro da conta foi atualizado com sucesso (Get Record).
- Exclui o registro da conta inserida (Excluir registro).
Observação:
While there may be more efficient ways of achieving the same result, the goal of this sequence is to demonstrate all of the record activities.
Pré-requisitos
Antes de você começar:
- Conclua as etapas de Configuração do Microsoft Dynamics 365.
- Use o Gerenciador de Pacotes para instalar o pacote Microsoft.Activities.Extensions (isso é para a atividade Search Records ).
Observação:
Este guia usa CredenciaisDoCliente como a atividade TipoDeAutenticação na atividade Microsoft Dynamics Application Scope . Se você preferir usar PasswordCredentials, você pode pular a etapa 1 (adicionar uma atividade Get Credential ) e seguir as subetapas com marcadores na etapa 2 (adicionar a atividade Microsoft Dynamics Application Scope ).
Etapas
Crie seu projeto
- Adicione uma atividade Obter credencial .
- Enter the AssetName for the credential asset you created (during the Setup) for the application Client Secret (e.g., "MicrosoftDynamics365ClientCredentials").
- Create and enter a
SecureStringvariable for the Password property (e.g., clientSecret). - Create and enter a
Stringvariable for the Username property (e.g, clientId). - Adicione a atividade Microsoft Dynamics 365 Application Scope após a atividade Get Credential .
- Clique no botão Configurar (isso abre o Assistente de conexão), selecione seu TipoDeAutenticação, insira suas credenciais e clique no botão Conexão de teste . Para obter mais informações sobre a finalidade e o comportamento desse assistente, consulte a seção.
- This step is for design time purposes only. To populate the Microsoft Dynamics Application Scope properties, continue to complete the steps below.
- In the AuthenticationType property, select your preferred authentication type.
- If you select PasswordCredentials, create a
Stringvariable for the ClientId (e.g., Name: clientId Default: "56X9aXXX-b5d9-4a90-XXXX-13XX9643XXXX")
- If you select PasswordCredentials, create a
- In the ClientId property, enter the
Stringvariable you created for the Get Credential activity or substep above (e.g., clientId). - In the ClientSecret property, enter the
SecureStringvariable you created for the Get Credential activity (e.g., clientSecret).- If you selected PasswordCredentials leave the ClientSecret property empty.
- Na propriedade UrlDoEndpoint , crie e insira uma variável
Stringcom a URL da instância do CRM à qual você deseja se conectar (por exemplo, Nome: endpointURL Padrão: "https://uipath.crm4.dynamics.com/" ) - In the TenantId property, create and enter a
Stringvariable for the directory (tenant) ID assigned to your Azure Active Directory (ADD) tenant (e.g., Name: tenantId Default: "d8353d2a-b153-4d17-8827-902cXXXXXXX").-
Se você selecionou CredenciaisDeSenha, selecione sua preferência de Solicitação de senha (opções).
-
- Adicione a atividade Insert Record dentro da atividade Microsoft Dynamics Application Scope .
-
Click the Configure button inside the Insert Record activity (this opens the Object Wizard).
-
In the Select Entity drop-down list, select Account.
-
In the accountId field, create and enter a
Stringvariable (e.g., accountId). -
In the Add Single Field textbox, enter name and click enter.
-
In the name field, enter an account name (e.g., "Quickstart_Account").
-
Click the Done button.
-
-
Add an Add to dictionary activity after the Insert Record activity.
-
In the Dictionary property, create and enter a
Dictionary<String,String>variable accordingly: Name: queryOption, Default: new Dictionary(Of String, String) (you may use a different Name value, but the Default value is required). -
In the Key property, enter "$filter".
-
In the Value property, enter "name eq 'Quickstart_Account'" (Quickstart_Account is the name of the account you inserted in the steps above. If you entered a different name, use that value instead).
- Para obter mais informações sobre valores de consulta, consulte as páginas de metadados de consulta e/ou dados de consulta na documentação da Microsoft.
-
Adicione a atividade Pesquisar Registros após a atividade Adicionar ao dicionário .
-
In the Object property, select Account.
-
In the Query Options property, enter the
Dictionary<String,String>variable you created above (e.g., queryOption). -
In the Result property, create and enter a
DataTablevariable (e.g., searchResults).
-
- Add an Assign activity after the Search Records activity.
- In the To property, create and enter a
Stringvariable (e.g., webURL). - In the Value property, enter the following: searchResults.Rows(0).Item("websiteurl").ToString.
- Para obter mais informações sobre os nomes das colunas para cada entidade, consulte a Referência de EntityType da API Web na documentação da Microsoft.
- Add an If activty after the Assign activity.
- Crie uma variável
Stringcom um valor padrão de uma URL (por exemplo, Nome: website, Padrão: "www.uipath.com"). - In the Condition property, enter the following: webURL = website.
- In the Then statement box, add a Write Line activity with the following Text: "Website present".
- Na caixa de Declaração Else , adicione a atividade Update Record .
- Click the Configure button inside the Update Record activity (this opens the Object Wizard).
-
In the Select Entity drop-down list, select Account.
-
In the accountId field, enter the
Stringvariable you created for the Insert Record activity (e.g., accountId). -
In the Add Single Field textbox, enter websiteurl and click enter.
-
In the name field, enter the
Stringvariable you created in the step above (e.g., website). -
Click the Done button.
-
- Click the Configure button inside the Update Record activity (this opens the Object Wizard).
- In the To property, create and enter a
Teste seu projeto
-
Adicione a atividade Get Record após a atividade Update Record (dentro da caixa da instrução Else ).
- Click the Configure button inside the Get Record activity (this opens the Object Wizard).
- In the Select Entity drop-down list, select Account.
- In the accountId field, enter the
Stringvariable you created for the Insert Record activity (e.g., accountId). - In the Add Single Field textbox, enter websiteurl and click enter.
- In the websiteurl field, create and enter a
Stringvariable (e.g., websiteVerification). - Click the Done button.
- Add an If activity after the Get Record activity (inside the Else statement box).
- In the Condition property, enter the following: website = websiteVerification.
- In the Then statement box, add a Write Line activity with the following Text: "Website update succeeded!".
- In the Then statement box, add a Write Line activity with the following Text: "Website update failed".
- Click the Configure button inside the Get Record activity (this opens the Object Wizard).
-
Adicione a atividade Delete Record fora da primeira atividade If .
- In the Object property, select Account.
- In the Id field, enter the
Stringvariable you created for the Insert Record activity (e.g., accountId). - In the MicrosoftDynamicsStatus property, create and enter a
ResponseStatusvariable (e.g., responseStatus).
-
Add a Write Line activity after the Delete Record activity.
- In the Text property, enter the following: "Record deleted: "+responseStatus.Success.ToString.
-
Click Run and verify the Output window includes the expected write line values.
Está feito!
Para saber mais sobre as atividades Microsoft Dynamics 365 (incluindo entradas/saídas de propriedades de exemplo), consulte a página Atividades para uma lista completa de atividades e links para as páginas de detalhes das atividades.