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
For anyone who is coming to this old post, the correct answer is to do this:
property( local!availabilityResponse, {"body","resources","type"}, {})
This will return the three fields when local!availabilityResponse is not null, or an empty list when it is.