in Appian designer, the interface works fine. but when I start it from a process model it fails.
From the Process Model:
passing ri!certificateID = 1
a!gridField( label: "Event Calendar", labelPosition: "ABOVE", data: a!queryEntity( entity: cons!CTR_CERTCALENDAR_DSE, query: a!query( selection: a!querySelection( columns: { a!queryColumn( field: "calstatuscd" ), a!queryColumn( field: "caldtfr" ), a!queryColumn( field: "caldtto" ), a!queryColumn( field: "calnotifytp" ), a!queryColumn( field: "id" ) } ), logicalExpression: a!queryLogicalExpression( operator: "AND", filters: { a!queryFilter( field: "certificateid", operator: "=", value: ri!Certificateid ) }, ignoreFiltersWithEmptyValues: true ), pagingInfo: fv!pagingInfo ), fetchTotalCount: true ), columns: { a!gridColumn( label: "Status", sortField: "calstatuscd", value: fv!row.calstatuscd, align: "CENTER" ), a!gridColumn( label: "From", sortField: "caldtfr", value: fv!row.caldtfr, align: "CENTER" ), a!gridColumn( label: "To", sortField: "caldtto", value: fv!row.caldtto, align: "CENTER" ), a!gridColumn( label: "Sequence", sortField: "calnotifytp", value: fv!row.calnotifytp, align: "CENTER" ) }, initialsorts: a!sortInfo( field: "caldtfr", ascending: true ), validations: {}, showwhen:false() )
Discussion posts and replies are publicly visible