Hi, Everyone
I am new to appian and now i'm doing appian developer course exercise.【Appian Developer (Course) of Exercixe8: Process Modeling 101,Part 1 】(No.11)I got this error and why this error occur i don' understand.Please reference below of image.
I checked AX_GetVehicleByID constant and tested .Test Output result please reference below of image.
Can anyone help me !!!!!
Thanks .
Discussion posts and replies are publicly visible
Try passing the value in the key-value pair (make it a habit) i.e. vehicleId: 1And next thing is to cast the array into a single value. Use the below code to cast your output.
cast( typeof(type!yourCDTName), <add your query output here> )
Try making use of For Each func and pass value .
it will help in getting all data .Example
a!foreach(items: index(yourqueried data,"data",1,null), expression:cast( typeof(type!your cdt name just type rest appian will help),fv!item)
if want for all just remove 1 .
Resolved my problem.I tried this step.(1)At first time when i created constant object i did not set parameter. So recreate constant object and set parameter.
Thank for you reply.