activities
latest
false
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.
UiPath logo, featuring letters U and I in white

Activités de workflow

Dernière mise à jour 28 févr. 2026

Déclencher le bouton du formulaire

UiPath.Form.Activities.TriggerFormButton

Description

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

Vous indiquez l’ID du processus que vous souhaitez exécuter en externe et la clé du bouton qui exécute le bloc Faire dans le formulaire externe. Lors du runtime, l'activité recherche l'ID de processus de formulaire indiqué et clique sur le bouton spécifié pour exécuter le bloc Faire. Pour obtenir un ID de processus de formulaire, utilisez le champ Sortie de l' activité Démarrer le formulaire dans le workflow correspondant.

Compatibilité du projet

Winodows - Legacy | Windows

Panneau propriétés

Commun

Les propriétés de cette catégorie font référence aux paramètres d'activité courants.

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

Entrée

Les propriétés de cette catégorie font référence aux identificateurs du formulaire déclenché en externe.

  • 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.

Divers

La propriété de cette catégorie fait référence à divers paramètres.

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

Exemple de workflow

L'exemple ci-dessous montre comment configurer les boutons de formulaire de déclenchement.

  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:
    • Vous utilisez "approve" comme valeur de clé de champ du composant de bouton.
    • Vous utilisez l'activité Démarrer le formulaire (Start Form) pour récupérer l'ID de processus Process1 : vous créez une variable process_id dans le champ Sortie (Output) > Formulaire (Form Process Id) de l'activité.
  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:
    • Vous utilisez l’activité Trigger Form Button.
    • 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
  • Compatibilité du projet
  • Exemple de workflow

Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Uipath Logo
Confiance et sécurité
© 2005-2026 UiPath Tous droits réservés.