How to use the property function with more that 3 parameters ?

Certified Senior Developer

Hi,

I've found in an existing code application this function called with 5 parameters (please see below).

But the Appian documentation says that the Property function must have 3 parameters only. This code works, but throw an error in Design mode (exactly like the "if" function which can take more than 3 parameters). 

How would you replace this code ? with additional if conditions ? 

property(
  local!availabilityResponse,
  "body",
  "resources",
  "type",
  null
)

Regards

  Discussion posts and replies are publicly visible

Parents Reply Children