activities
latest
false
UiPath logo, featuring letters U and I in white
Classic Integrations Activities
Last updated Nov 8, 2024

Format Labels And Values

UiPath.Salesforce.Activities.FormatLabelsAndValues

Formats the specified text according to a list of values and a list of labels from Salesforce. Based on the specified lists, extracts all values and labels that can be found in the input text.

Note:

Labels are the strings that Salesforce users see in the application. These can be translated to different languages, as supported by Salesforce.

Values are the language-independent strings that are stored in the Salesforce object. When the picklistand multipicklist types of Salesforce Object fields are included in any of the record operations, values are used.

By clicking the Configure button in the body of the activity, you can open a wizard that helps you designate which Salesforce Object and its respective Field you want to use for the activity.



After selecting the Salesforce Object and clicking Done, the activity properties are populated accordingly.

Properties

Common
  • DisplayName - The display name of the activity.
Input
  • ListOfLabels - The list of labels that you want to use to format the specified text. This field supports only IEnumerable<String> variables.
  • ListOfValues - The list of values that you want to use to format the specified text. This field supports only IEnumerable<String> variables.
  • Text - The text that you want to format. This field supports only strings and String variables.
    Note: The Text property can contain a list of labels that are comma, semi-colon, tab, or end of line (\ , \r) separator. The activity parses the Text, performs a split using the separators, ignores trailing and leading black spaces, and validates against the labels to output the results.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
  • InvalidLabels - The labels that are extracted from the specified text but cannot be found in the list of labels, if any. This field supports only strings and String variables.
  • Labels - The labels that are extracted from the specified text according to the specified list of labels. This field supports only strings and String variables.
  • Values - The values that are extracted from the specified text according to the specified list of values. This field supports only strings and String variables.
  • Properties

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.