Apps
latest
false
Banner background image
Apps User Guide
Last updated Apr 26, 2024

PREVIEW
Rule: Submit Action

Use the Submit Action rule to save and submit the changes made by a user upon completing a form or a certain UI interaction.

Important:

This rule becomes available for selection only after you add an action definition to your app.

docs image

Action schema

This section displays the name of the action definition used in your app.

Note:

As only one action definition per app is allowed, this field is automatically filled in.

Input Override

In this section you can set values for the input arguments of the action.

Clicking the Input Override filed opens the Resources panel, which displays the available input or input/output parameters of the selected action.

Select the parameters, and set them to the values of your app input controls.

An action input or input/output parameter has the following syntax:

Actions.<action_name>.<input_parameter_name>

The value expression of an app control has the following syntax:

<Apps_MainPage_name>.<input_control_name>.value

For example: You have the "name" input parameter in your "Voting App" action. You have a text control in your app called "text1". To bind the input parameter to the control value in Apps:

  1. Select the "name" input parameter from the Resources panel. It should populate the field with the following expression:

    Actions.Voting_app.nameActions.Voting_app.name
  2. In the Enter value field, set the following value to the "name" parameter:

    MainPage.text1.ValueMainPage.text1.Value
Note:

You can add many input overrides as the number of your action input parameters.

Important:

Make sure to provide input override for all action parameters you want to temporary save, for those parameters you want to send at action submit.

Action outcome

In this section you can configure the outcome for completing the action.

The outcome options are defined in the definition schema of your action.

On error

In this section you can define rules to be executed when submitting the action encounters an error.

For example: To track the failure, you can add a Show Message rule. You can then specify the title, message, and type of the error.

  • Action schema
  • Input Override
  • Action outcome
  • On error

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.