Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Selecting only one record from Query

$
0
0

Hello,

I have a workflow, which is supposed to create a task owned by some user. This user should be selected out of Team members (from the team with known Business Unit). And the user itself has known Title (Head of the team).

So, I add a Query to my workflow to select all users from the Team which Business Unit has the particular name (e.g. "Support").

So, I receive the list of team members (with their names and titles). But the issue is, if I even specify the particular Title in the query I'll receive 'records' anyway, even though being consisted of only one record. So in the next step I wouldn't be able to provide dynamic value for Task Owner (user), since for CRM my query is supposed to be returning more than one record theoretically.

Is there any way I can ask CRM to return only one record from Query (actually the very first one) being the particular user?


Viewing all articles
Browse latest Browse all 82002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>