We have a requirement to pull Service backed records which needs some query parameter to it only pulls Records based on user selection.
I was not able to find a way to pass parameter to the recordtype , is there a way to do that ?
rule!myIntegrationPointingToServiceBackRecords
(
input1: ri!input,
batchnumber: ri!batchnumber
)
Discussion posts and replies are publicly visible
You can't pass it to the Record Type but you can just add filters to the queryRecordType, no?
docs.appian.com/.../Query_Recipes.html
The webservice endpoint needs parameters passed , I am not sure if the recordtype will pull all the data if the datasource is not a filtered datasource and then does the queryfilter runs on top of the pulled records OR the queryfilter will translate to query parameter of the webservice endpoint ? If its not the latter the performance will be an issue as the payload is going to be large .. which is why using filteredDataource is would make more sense. But if we define a recordType using the filtered dataource , how do we pass the input parameters when creating this type of recordtype? When i tried to create a recordtype using filtered datasource, it defaults to 'unsynced' which doesn't support filters in a!queryrecordtype (Record types sourced from a web service or other expression only support filter parameter if the data is synced). Also if i use the filtered datasource for the data in the grid, it doesn't support search and user filters .. lot of constraints
A synched Record does not support dynamic parameters on sync. You need to sync all the data and then you can filter by user by running queries on it. If that is not possible, I would suggest you just call the integration directly.