cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
octaking
Level: Powered On

get the owner of an approval

I'm trying to patch the owner of an approval but don't get it

Captura de Pantalla 2019-08-17 a la(s) 20.29.00.png

1 ACCEPTED SOLUTION

Accepted Solutions
shailendra74
Level 8

Re: get the owner of an approval

Hi @octaking 

 

What is the value in Owner.  Are you expecting it to be the logged in user. If so it should be User().Email

 

Thanks.

5 REPLIES 5
shailendra74
Level 8

Re: get the owner of an approval

Hi @octaking 

 

What is the value in Owner.  Are you expecting it to be the logged in user. If so it should be User().Email

 

Thanks.

octaking
Level: Powered On

Re: get the owner of an approval

Hi @shailendra74  

What I want to achieve is to be able to patch the person who approved an request,

but he tells me he expects polymorphic value

 

Captura de Pantalla 2019-08-18 a la(s) 09.13.36.png

 

shailendra74
Level 8

Re: get the owner of an approval

Hi @octaking 

 

what does Item_Confirm hold.  The value expexted should be a record.

 

E.g. Patch(Approvals, First(Filter(Approvals; ID = value)), {.... }) // ID or any unique column which can represent the record

 

Also Filter function expects the condition

 

Eg. Filter(Approvals; 'Modified By'=User().Email)

 

Thanks.

 

Thanks.

octaking
Level: Powered On

Re: get the owner of an approval

HI @shailendra74 

 

yes the Item_Confirm It has the value of the item is the same as ThisItem I use this because I have a confirmation popup

 

 

shailendra74
Level 8

Re: get the owner of an approval

Hi @octaking 

 

Is Owner a person or group field?

 

Also in previous response I realised that 'Modified By' has properties, you need to consider one of them like 'Modified By'.Email.

 

Thanks.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 197 members 4,763 guests
Please welcome our newest community members: