Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logic app not able to get column value from an inserted row #883

Closed
AmitAnajwala opened this issue Sep 15, 2023 · 4 comments
Closed

Logic app not able to get column value from an inserted row #883

AmitAnajwala opened this issue Sep 15, 2023 · 4 comments
Labels

Comments

@AmitAnajwala
Copy link

AmitAnajwala commented Sep 15, 2023

Describe the Bug with repro steps

Create logic app.
Add workflow.
Add trigger when a row is inserted in sql server.
Add an action to call a function app.

It is working fine.

Issue:

If I want to trigger a function app, when value of event_type column is 'dataload' in an inserted row, then it is not working.

I gave trigger condition.
I also tried using condition control.
Here is the condition.
@equals(triggerBody()?['event_type'],'dataload')

What type of Logic App Is this happening in?

Consumption (Portal)

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

No response

Screenshots or Videos

No response

Browser

Microsoft Edge

Additional context

No response

AB#25179617

AB#25193669

@Eric-B-Wu Eric-B-Wu transferred this issue from Azure/LogicAppsUX Sep 18, 2023
@Eric-B-Wu
Copy link

Seems like its same issue as #882, transferring to backend to investigate

@AmitAnajwala
Copy link
Author

Hi,
I found solution for this.
Create Stateful workflow in Logic App.
Go to workflow designer and add When an item is created (V2) sql trigger.
Split On should be enabled for “When an item is created (V2)”.

Then I was able to use Condition control or Trigger condition in "When an item is created (V2)" and put condition based on inserted row's column value.

Regards,
Amit.

Copy link

github-actions bot commented Nov 3, 2023

This issue is stale because it has been open for 45 days with no activity.

@github-actions github-actions bot added the stale label Nov 3, 2023
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants