Skip to main content
September 15, 2023
Question

How to see local variable value in Web API

  • September 15, 2023
  • 3 replies
  • 0 views

Hi,

I have a web API, and inside that am calling few expression rules and storing it in Local variable.

Is there a way that i can see what value is getting stored in that local Variable.(just like we have an option in interface, expression rules.)

Eg:

From local!getDelta am getting Delta value

local!abc: rule!xyz(

getDelta:local!getDelta,

processid:index(http!request.querryParameters,"processId",{})

)

I need to check what is the value in local!abc in Web API object.

    3 replies

    shikhat
    September 15, 2023

    Hi David,

    You can print the value of your local variable in http response function( in body param) and check the value getting stored in that variable.

    anmolv0003
    September 17, 2023

    harshj0001
    September 18, 2023

    Hey, Not the local variable, but you can the formed data in the log screen.