activities
latest
false
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.
UiPath logo, featuring letters U and I in white

Atividades do fluxo de trabalho

Última atualização 6 de mar de 2026

Trigger Form Button

UiPath.Form.Activities.TriggerFormButton

Description

Use this activity to trigger the execution of the Do block of an external process.

Você fornece o ID do processo que deseja executar externamente e a chave do botão que executa o bloco Fazer no formulário externo. No runtime, a atividade pesquisa o ID de processo do formulário indicado e clica na tecla do botão especificada para executar o bloco Fazer. Para descobrir um ID de processo de formulário, use o campo Saída da atividade Start Form no fluxo de trabalho correspondente.

Compatibilidade do projeto

Winodows - Legacy | Windows

Painel de Propriedades

Comum

As propriedades nesta categoria referem-se a configurações de atividade comuns.

  • Display Name (String) - Sets the name for this activity. For example, "Trigger Approve Button On Form".

Entrada

As propriedades desta categoria referem-se aos identificadores do formulário que é acionado externamente.

  • Button Key (String) - Enter the key of the button used to trigger the Do block. The value must match the field key value of the button component in the referenced form.
  • Form Process Id (Int32) - Enter the ID of the process that generates the form containing the triggering button. You can retrieve the process ID through the Output field of the Start Activity. Make sure you are in the correct process when you use this option, as you need to collect the ID of the process that needs to be triggered externally.

Diversos

A propriedade nesta categoria refere-se a configurações diversas.

  • Private (Boolean) - To skip logging variables and arguments at Verbose level, check this box. By default, the checkbox is cleared (set to false).

Exemplo de fluxo de trabalho

O exemplo abaixo demonstra como configurar os botões do formulário de acionamento.

  1. For example, you design a button (Approve) in the Form1 form of the Process1 process. While in Process1, make sure to check the following:
    • Você usa "approve" como o valor da chave de campo do componente de botão.
    • Use a atividade Iniciar formulário para recuperar o ID do processo Process1: crie uma variável process_id na atividade Saída > campo ID do processo do formulário.
  2. You have another process, called Process2, and you need it to trigger the Approve button of the Form1 form (which is generated by the Process1 process). Process1 is a process external to Process2. While in Process2, make sure to check the following:
    • Você usa a atividade do botão Trigger Form.
    • For the Button Key property, enter the field key of the Approve button from Process1 (for example, "approve").
    • For the Form Process Id, enter the Process1 process ID returned by the Start Activity (for example, the variable process_id).

Result: The Trigger Form Button activity searches for the indicated process ID and clicks on the specified button, thus executing the Do block in the Form1 form (externally triggered from Process2).

  • Description
  • Compatibilidade do projeto
  • Exemplo de fluxo de trabalho

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades