Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Hi, I'm doing the activity of the course, but I got a problem with this query:
a!queryRecordType( recordType: 'recordType!{058be2d0-0acb-453f-93ac-4c9f650cf004}Vehicle', fields: a!aggregationFields( groupings: a!grouping( field: Vehicle.make, alias: "Vehiclemake" ), measures: a!measure( field: Vehicle.make , function: "COUNT", alias: "count" ) ), pagingInfo: a!pagingInfo( startIndex: 1, batchSize: 100 )) .data
when I tried to test the rule I got this error: Expression evaluation error at function a!aggregationFields [line 3]: Could not find variable 'Vehicle'
I followed every single step in the exercise So, I don't understand what's the wrong here. Can anyone tell me what's the wrong??
Discussion posts and replies are publicly visible
Ali Abdulqawi said:field: Vehicle.make
The field has to be written using the recordType! domain. Similar to how you have provided it for the 'recordType' property.
In your a!measure() you need to provide the field name in record type syntax.
Thanks, it worked now