Expression evaluation error at function a!forEach [line 104]: Error in a!forEach() expression during iteration 1: Expression evaluation error at function 'cast' [line 106]: Could not cast from COSELM_coselm_eox_information to Number (Integer). Details: CastInvalidCould not cast from COSELM_coselm_eox_information to Number (Integer). Details: CastInvalid
You don't need the CAST. You can simply have the following:
a!forEach(
items: local!productInfo,
expression: 'type!{urn:com:appian:types:COSELM}COSELM_coselm_eox_information'(
/* map your attributes from each instance of fv!item to your CDT attributes */
)
)
You don't need the CAST. You can simply have the following:
a!forEach(
items: local!productInfo,
expression: 'type!{urn:com:appian:types:COSELM}COSELM_coselm_eox_information'(
/* map your attributes from each instance of fv!item to your CDT attributes */
)
)
Thank you :). But in my other expression i am doing casting which is working i am not sure why i am getting error. However this solution works fine. Let me integrate this with process model and see if it actually post the data to db