Error: Process Properties: Rule input vehilce (KSS_Vehicle?list) is currently matted to a process variable of type KSS_Vehicle

Certified Senior Developer

I'm getting this error on our process model. It's a practice application for an auto insurance policy. We are getting this same error on both the New Policy and Update Policy process model, we have three of us working on it for several hours now and cannot figure it out. Obviously something with the data types? Was hoping someone here may have some direction. Thank you!

  • Process Properties: Rule input vehicle (KSS_Vehicle?list) is currently mapped to a process variable of type KSS_Vehicle.

  Discussion posts and replies are publicly visible

Parents
  • I don't ever recall seeing this level of validation error, but it seems to be saying that the data type for your 'vehicle' rule input is of type KSS_Vehicle?list - that is, an array of data - whereas the process variable it's being mapped to is of type 'KSS_Vehicle' (i.e. singular and not an array).

    Normally when you map an array to a single value Appian simply takes the first item in your list, maps it and dumps the remainder, which is why I don't recall seeing this before. Normally I scratch my head trying to work out where the rest of the data disappeared to, and then remember this is how Appian behaves when such a mismatch in cardinality occurs.

Reply
  • I don't ever recall seeing this level of validation error, but it seems to be saying that the data type for your 'vehicle' rule input is of type KSS_Vehicle?list - that is, an array of data - whereas the process variable it's being mapped to is of type 'KSS_Vehicle' (i.e. singular and not an array).

    Normally when you map an array to a single value Appian simply takes the first item in your list, maps it and dumps the remainder, which is why I don't recall seeing this before. Normally I scratch my head trying to work out where the rest of the data disappeared to, and then remember this is how Appian behaves when such a mismatch in cardinality occurs.

Children
No Data