cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
samsam
Advocate II
Advocate II

Get the values from on-prem MSSQL table

Hi, 

 

I am using on-prem SQL Express
I would like to select top 1 * from LeaveApplication where applicant ='{vApplicant}' order by {vApplicant} order by dateSubmit
(vApplicant has been assigned a value, e.g. Sam)

 

Then, I would like to get all the fields of this record, and assign them to variable
But I receive an error on step #1....

 

may I know how to archive this?

 

Q17a.PNG

 

Thanks in advance

 

Sam

1 ACCEPTED SOLUTION

Accepted Solutions

 

Hi @samsam ,

 

You could recreate a Flow using the second method you mentioned. Then the problem can be solved.

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
samsam
Advocate II
Advocate II

I am trying another way, 

but it still returns error 

Unable to process template language expressions in action 'Get_rows_(V2)' inputs at line '1' and column '1972': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sql']['connectionId']' cannot be evaluated because property 'shared_sql' doesn't exist, available properties are 'shared_office365'. Please see https://aka.ms/logicexpressions for usage details.'.

 

Q17b.PNG

 

Hi @samsam ,

 

You could recreate a Flow using the second method you mentioned. Then the problem can be solved.

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

@v-bacao-msft Thanks ~~ it works perfectly~

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,164)