Summary:
Is it possible to limit the number of results in an query crm step in a dialog process?
Details:
We have a lead workflow where every user should visit about 10 leads per day. So I try to build a workflow which creates a list or appointments with 10 leads, not ready yet.
I created a dialog process which asks for a zipcode and then I want to query the leads and find them based on the input zipcode. That's working already. But my question is how can I limit the number of results in this query?
I found that I can use the "count" or "top" attribute in the fetchxml to limit the results. But how can I get this in the query in the dialog process? In the creating-dialog-window you can only change the variables but not the query shown above that itself.