cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Assigning record to a Team d365

Hi I have created a Flow that creates a record for a custom entity which works fine. I now want to assign this record to a team called 'Bidding Team'. The Bidding Team contains 5 users in the environment. How can I achieve this?

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Resident Rockstar
Resident Rockstar

Hi @AlvinH 

On the Create Action of your custom entity set the owner as below where guid is your team GUID

Mira_Ghaly_0-1596449261400.png

 

If this post helps you with your problem, please mark your as Accepted solution.

If you like my response, please give it a Thumbs Up.

MG (Naturally Curious)

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

View solution in original post

@AlvinH 

To get you team id dynamically using List Records as below:

Mira_Ghaly_0-1596449645907.png

Then initialize a variable and set it from the Expression pane as below

first(outputs('List_Records')?['body/value'])['teamid']

Mira_Ghaly_1-1596449693465.png

And then use the Variable on the created record as below:

Mira_Ghaly_2-1596449769524.png

 

If this post helps you with your problem, please mark your as Accepted solution.

If you like my response, please give it a Thumbs Up.

MG (Naturally Curious)

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Resident Rockstar
Resident Rockstar

Hi @AlvinH 

On the Create Action of your custom entity set the owner as below where guid is your team GUID

Mira_Ghaly_0-1596449261400.png

 

If this post helps you with your problem, please mark your as Accepted solution.

If you like my response, please give it a Thumbs Up.

MG (Naturally Curious)

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

View solution in original post

@AlvinH 

To get you team id dynamically using List Records as below:

Mira_Ghaly_0-1596449645907.png

Then initialize a variable and set it from the Expression pane as below

first(outputs('List_Records')?['body/value'])['teamid']

Mira_Ghaly_1-1596449693465.png

And then use the Variable on the created record as below:

Mira_Ghaly_2-1596449769524.png

 

If this post helps you with your problem, please mark your as Accepted solution.

If you like my response, please give it a Thumbs Up.

MG (Naturally Curious)

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (6,994)