Skip to main content
July 17, 2023
Question

Output of a rule expression

  • July 17, 2023
  • 3 replies
  • 0 views

Hi! I´m creating a rule expression to return a value based on the logged in user, and use this value in an interface.

In this case, I want to return the value "Proveedor 2" and show it in the interface. But the problem is that, when I try to reference the rule as a local variable, the following is shown.

My local variable configuration is:

I think the problem is in the test output of my expression rule. When I put it in raw format, the same text which appears in the interface is show (I just want "Proveedor 2"):

1)Image of expression Rule

2) Expression rule output in various formats

In this case, I would like to extract just the "Proveedor 2" output. How can I do this?

    3 replies

    July 17, 2023

    This value is coming from a RecordType that you made. In order to get "Proveedor 2" as output, you need to extract that value using property function.
    Please read more about this function in the documentation.

    July 17, 2023

    Pls avoid creating duplicate threads for the same questions. You have explained everything here as well but didn't mention what you are doing in the display value of text field

    July 17, 2023

    Solved and understood, thanks a lot for the help!