cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
simms7400
Post Prodigy
Post Prodigy

Include field value in if statment ins Approval Details?

Hi Folks -

 

I have gotten fantastic help on this thread (https://powerusers.microsoft.com/t5/Building-Flows/Can-you-use-if-statments-in-the-quot-Details-quot...) about how to capture an input. It's working great but I need to take it one step further!

 

My if statement in the "Details" section is as follows:

 

if(empty(outputs('PTPCheck')),'The following Partnership Association has been removed : ','Requested Partnership Association : ')

 

 

And it's working.  However, I would like to add the field value in the if statement because depending on the input (null or not) a different value should be used.

 

For instance, I want my if statement to look like this but not sure it's possible:

 

if(empty(outputs('PTPCheck')),'The following Partnership Association has been removed [Workflow_PartnershipID] : [Workflow_PartnershipID]','Requested Partnership Association : [PartnershipID]')

 

 

The strings in brackets are the fields that are set in my powerapps application and I need to displya their values as such. Is this possible? Attached is a screen shot for reference:

PowerAutomate1.png

 

 

Thanks!!

1 REPLY 1
MinRao
Resolver II
Resolver II

@simms7400 

 

 Would "concat" help you and is what you expect ? 

if(empty(outputs('PTPCheck')),concat('The following Partnership Association has been removed ', variables('Workflow_PartnershipID'), ':' , variables('Workflow_PartnershipID') ), concat('Requested Partnership Association :', variables('Workflow_PartnershipID')))

 

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,192)