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

Combine two type of expression

Hi

 

I was wondering if it was possible to combine the two types of expression below into one:

 

1. Expression that start with outputs('Compose')?[string(outputs('ActionName')?[body/fieldName])]

 

2. Expression that start with variables('NameofInitializeVariable')[variables('NameofInitializeVariable2')]

 

I would like for these two expressions/actions to work at the same time.

 

Thank!

1 ACCEPTED SOLUTION

Accepted Solutions

Solved :

 

The expression I use is outputs('Compose')?[string(variables('NameOfInitializeVariable')[variables('OtherNameOfInitializeVariable')])]

View solution in original post

5 REPLIES 5
abm
Super User
Super User

Hi @Assepa 

 

Not sure I understood correctly. Is that above two expressions working separately now?  Could please explain why you want two expressions/actions to work at the same time?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Right now I'm only using the expression that start with variables... in a Add a row into a table action.

 

{

...

....

"Title": variables...,

"Number": "fieldA",

"Name":"name"

}

 

But for the excel column Title I also need to use the expression that start with outputs...because if the field Title is equal to Apple I need it to change to the letter A in the Excel table or f it's equal to Book it have to change to the letter B, etc. And I achieve that by using the outputs expression.

Hi @Assepa 

 

Thanks for your reply. So what you are saying is you have a JSON data which contains Title. Check the title first letter and update that in your Excel table?



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

The outputs expression would help me to achieve this but I still didn't find a way to add this expression with the other one that start with variables...

Solved :

 

The expression I use is outputs('Compose')?[string(variables('NameOfInitializeVariable')[variables('OtherNameOfInitializeVariable')])]

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,203)