Please add the ability to have In-expression variables
163
Views
0
Comments
New
Service Studio

Situtation: some references can be quite long and will make expressions really hard to read. Especially using these in (nested) if-statements.

I'd like to be able to create an in-expression variable like:


Let ({[} var1 = expression1 {; var2 = expression2...]}; expression)


Example:

Let (

theDate = GetWebinvoicedetail.Response.ResponseBody.Documents.CreatedAt;

today = CurrDate()

]; 

if( theDate = NullDate() ; today , theDate)

)


This makes much easier reading. Sure, I could do an assign first, but I really like to see everything in one window.