cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bkrlee1
New Member

Added Column to SQL table but not showing in flow.

Hi All,

 

Apologies as this is probably something very easy but I can't for the life of me find it.

 

I've created a flow which connects to an azure sql database successfully, It creates records and updates them. I've added another column to the SQL table but the column is not showing in flow. It's just a varchar(50) column. Is there a button to update the schema of the table so it shows as a parameter in the sql update action on flow please? Don't fancy recreating the whole sql part of flow everything I add a new column lol.

 

Many thanks.

44 REPLIES 44

Yes, waiting a day should also refresh the existing connection. The issue is caused by the caching of the connection when it is created.  If you don't delete it and create a new one there is no way to manually update the cached definition.  I suspect the cache clears overnight and that's why it works the next day.  If you can afford to wait that is an easier fix.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
PalaniKalyani
New Member

Responding to my previous comment.

"Today, Again I had to make some changes to the table (increase the size of the fields from 25 varchars to 50 varchars). The flow didn't reflect the changes immediately, I will wait till tomorrow to see whether it is getting reflected and will keep you posted. "

It worked now. 

 

-Other way to overcome the original issue is that, I created a copy of my table and used that in the flow, it works as expected. (Just to avoid creating the new connection every time). Still this is not a good solution as we progress further because the table might have been used anywhere else in the application and it will be huge impact across the application. 

Yes but that's nonsense when you are in dev mode and testing various scenarios out. Just like @Peter_Groen mentioned above.  It is a fix Microsoft should have implemented a long time ago. I would go even 1 step further and say:  It is an utter disgrace it is taking so long to get a fix.  And quite frankly, for developers moving over to Power Automate Cloud, there isn't anything to be gained. In fact, not only do you get less control over the internal details of your app, your productivity drops sharply as well.  I'd rather stick to SQL, Python, Powershell, or C# and get things done in a third of the time it takes me to get over the inane bugs of the SQL actions when using a connection to an on-prem DB.  3 years and counting and still no fix... ridiculous.

Fantastic.  We have to wait 24 hours when in the middle of a debug cycle.  What a boost to productivity!  

iso
Advocate IV
Advocate IV

I created 2 connections with exactly the same  config but 2 different names.  When the main connection used in the flow starts misbehaving, I switch over to the other connection that has not been used in the flow, and all the uncalled for error messages disappear, ie the flow starts running as intended and the dev/debug cycle can go on.  Of course, if you need to change a table schema again, or change one of the ODATA params of the action itself, you are in trouble again. Hopefully enough time would have gone by so that the previous connection has reset and switching back to it allows work to go on.  If not, you need a third copy of the connection, and so on ad infinitum.  Bloody hell, it feels like we are back in the prehistoric days of computing when MS-DOS ruled the desktop and COBOL was all the rage!  😉

Pstork1
Multi Super User
Multi Super User

You only have to wait 24 hours if you change the schema of the underlying data source (SQL) and don't want to delete the connection.  If you delete and recreate the connection you can do it right now.  But the best approach is to make sure the schema of the database is set before you start trying to create a workflow around it.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Yes, I get it but it is not acceptable that it be so rigid.  Even if the schema is set beforehand and never changes throughout the whole dev cycle, every single time if you do a DROP TABLE to reset the DB (I know, instead of a TRUNCATE) then you get in trouble again. 

 

And so you are forced to create a test connection so that all the dozen other flows that use more than a dozen SQL actions over the same connection will not be adversely affected. Imagine if one forgets this, he or she will have to manually go into each flow and change a dozen times the settings because there is no UNDO button either!  Also, because when you are developing something, time is usually of the essence and thus waiting 24 hours is absolutely bonkers. 

 

And so one is forced to delete/recreate the connection every single time a small mistake is made re the steps above.  Anyways, you know it, I know it... but does Microsoft know it?! This is what irks not just me apparently, but many other users... it seems as if MS doesn't give a fig about improving this.  In any case, I'll be going back to the traditional dev env as it affords both faster dev/debug cycles and greater productivity.  RPA in the cloud is a nice concept, but AFAIC a toy concept not yet ready for prime time (not mentioning all the other issues re UI/UX, var scoping, etc...).  Oh and another thing, customers shouldn't feel forced to start moving their on-prem data sources into the cloud in order to get a more seamless experience. I understand that that's the preferential (lucrative) option for MS, still it rubs the wrong way.

Addendum:  since I started writing the above, the goddamn connection did refresh... we are talking about what... 10 -20 mins+ since I left the flow before starting the post.... so that's strange, sometimes it takes 24 hours, and sometimes it takes less than 30 mins.  

Addendum 2:   Unblievable!  I add a new SQL UPDATE action to the flow, thinking that since the connection had refreshed for the previous UPDATE action, I could continue working by adding the next.  But no such luck!  The new action is referring to the old image of the connection, ie the table list is missing tables, whereas the old action, as I mentioned in the previous addendum, suddenly was able to access all the tables.

 

Talk about not making any sense.  

 

Hey Microsoft!  Would it hurt you to add a REFRESH CONNECTION button in the action menu?

iso
Advocate IV
Advocate IV

Addendum 3:  so basically if you copy to My Clipboard the SQL action that is connected to the refreshed image of the connection, then you can add that copy of the action and get immediate access to all your tables.  

PeterSejr
Frequent Visitor

Oh my god! - Thank you for that tip!

This issue has been killing me for ages. How is that even necessary to do!?

Exactly... it's utterly and totally outrageous.  Now, I am having the same problem with a Form Trigger.  I had to recreate the Form, deleting the old one. As a result, the Form connection keeps referencing the deleted Form, no way to get it to understand there is a new Form it should connect to. 

Since this wasn't a rush job, I let it sit for 24h expecting the connection to be reset... but it didn't.  What an awful user experience this is.  I feel sorry for all those people who got lured into this no-code gimmick and who don't have any basic computer science foundation to understand what is really going on.  For simple stuff, like email processing for ex, it works fine.  Anything else more complex where you have to drop down to using Azure functions and so on, forget it--you'll need a dev to do it properly.  

 

Anyway, I could rant on until I am blue in the face when it comes to Power Automate and all its drawbacks.

PeterSejr
Frequent Visitor

The amount of times I've felt the urge to throw my computer out the windows...!

 

For basically all SQL actions, I've started using the "Execute a SQL Query" action instead of any of the other. That way I'm not reliant on the refresh and just string together whatever I want to do as a SQL command. No more wait times.

Because my org has an on-premise SQL Server solution, that particular SQL action I cannot use, unfortunately. I have since been able to carefully navigate these actions. They are useful for rapidly deploying workflows that our company has wanted for a long time, but once we get our custom front-to-back ERP developed and deployed, bye-bye Power Platform (for the most part).

esapp
New Member

This problem hasn't been fixed in over 2 years and is very frustrating. Working with a SQL connection is a pain and forced us to look into and implement different solutions with other providers.

DragonLord
Helper IV
Helper IV

this really needs to be addressed , and QUICKLY !!!!!

 

24 hours?? you are having a laugh here? 

The connections are cached and you have to wait for the cache to timeout.  Its not really 24 hours, but in my experience it is usually overnight.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

@DragonLord LOL  I wish I were!  Oh but leave it to Microsoft not to be undone. Check this out:  it's been 6 years now that the Undo function in the Power App studio is broken with no fix on the horizon.  The community is rampaging, pitchfork in hand and foaming at the mouth.  It seems Saruman has taken over Microsoft and he can't be bothered.

@Pstork1 Yes, 24 hrs!  And if not, it took so long that it might as well have been 24 hrs.  No matter, even 1 hour is too long.  I will repeat it again:  Give me a good code editor and I will run circles around the low-code bros any day of the week.  

lets not forget also, you cant put a checkbox on the right hand side of the text yet ... 

Helpful resources

Announcements

November 2023 Community Newsletter

Welcome to our November Newsletter, where we highlight the latest news, product releases, upcoming events, and the amazing work of our outstanding Community members. If you're new to the Community, please make sure to follow the latest News & Announcements and check out the Community on LinkedIn as well! It's the best way to stay up-to-date with all the news from across the Power Platform and beyond.        This month's highlights:- - Our most active community members- Microsoft Power Up Program- Microsoft Community Days website - The latest blogs and more                 COMMUNITY HIGHLIGHTS Check out the most active community members of the last month. These hardworking members are posting regularly, answering questions, kudos, and providing top solutions in their communities. We are so thankful for each of you--keep up the great work! If you hope to see your name here next month, just get active! FLMikePstork1Nived_NambiarWarrenBelzSprongYeManishSolankiLaurensMwskinnermlcAgniusExpiscornovuscreativeopinion KatieAUinzil2kHaressh2728hafizsultan242douicmccaughanwoLucas001domliu   Power Up Program Click the image below to discover more about the amazing Microsoft Power Up Program, as Reem Omar, Abbas Godhrawala, Chahine Atallah, Ruby Ruiz Brown, Juan Francisco Sánchez Enciso, Joscelyne Andrade Arévalo, Eric G. and Paulina Pałczyńska share how non-tech professionals can successfully advance into a new career path using Microsoft #PowerPlatform.   To find out more about this amazing initiative, click here to apply for the program and reboot your journey into low-code app development today!     Community Days - Event Website Have you checked out the Community Days website yet? Dedicated to the volunteer community organizers around the world, Community Days is the perfect place to find an event near you or add an event for wider exposure. Many thanks to Thomas Daly, Sharon Weaver, Sedat Tum, Jonathan Weaver, Manpreet Singh, David Leveille, Jason Rivera, Mike Maadarani, Rob Windsor and the team for all their hard work. Anyone can host a Community Day on any topic relevant to our industry, just click the image below to find out more.       EVENT NEWS Power Platform French Summit - Paris/Virtual - 6-7th Dec It's not long now until the Power Platform French Summit, which takes place both virtually and in-person at the Microsoft France conference center in Paris on 6-7th December 2023. If you can't make it in-person, all sessions will also be broadcast on virtual networks for better distribution and accessibility.   There's a fantastic array of speakers, including Jérémy LAPLAINE, Amira Beldjilali, Rémi Chambard, Erika Beaumier, Makenson Frena, Assia Boutera, Elliott Pierret, Clothilde Facon, Gilles Pommier, Marie Aubert, Antoine Herbosa, Chloé Moreau, Raphaël Senis, Rym Ben Hamida, Loïc Cimon, Joséphine Salafia, David Zoonekyndt, Aïcha Charpentier, Henry Jammes, Milene Rochard, Mehdi EL YASSIR, and many more. Click the image below for more information.       LATEST COMMUNITY BLOG ARTICLES Power Apps Community Blog Power Automate Community Blog Copilot Community Blog Power Pages Community Blog

Back to Basics Tuesday Tip #10: Community Support

This is the TENTH post in our ongoing series dedicated to helping the amazing members of our community--both new members and seasoned veterans--learn and grow in how to best engage in the community! Each Tuesday, we feature new content that will help you best understand the community--from ranking and badges to profile avatars, from Super Users to blogging in the community. Our hope is that this information will help each of our community members grow in their experience with Power Platform, with the community, and with each other!   This Week: All About Community Support   Whether you're a seasoned community veteran or just getting started, you may need a bit of help from time to time! If you need to share feedback with the Community Engagement team about the community or are looking for ways we can assist you with user groups, events, or something else, Community Support is the place to start.   Community Support is part of every one of our communities, accessible to all our community members.     Power Apps: https://powerusers.microsoft.com/t5/Community-Support/ct-p/pa_community_support Power Automate: https://powerusers.microsoft.com/t5/Community-Support/ct-p/mpa_community_support Power Pages: https://powerusers.microsoft.com/t5/Community-Support/ct-p/mpp_community_support Copilot Studio: https://powerusers.microsoft.com/t5/Community-Support/ct-p/pva_community-support   Within each community's Community Support page, you'll find three distinct areas, each with a different focus to help you when you need support from us most.     Community Accounts & Registration is the go-to source for any and all information related to your account here in the community. It's full of great knowledge base articles that will help you manage your community account and know what steps to take if you wish to close your account.  ●  Power Apps  ●  Power Automate  ●  Power Pages, ●  Copilot Studio      Using the Community is your source for assistance with everything from Community User Groups to FAQ's and more. If you want to know what kudos are, how badges work, how to level up your User Group or something else, you will probably find the answers here. ●  Power Apps   ● Power Automate    ●  Power Pages  ●  Copilot Studio      Community Feedback is where you can share opportunities, concerns, or get information from the Community Engagement team. It's your best place to post a question about an issue you're having in the community, a general question you need answered. Whatever it is, visit Community Feedback to get the answers you need right away. Our team is honored to partner with you and can't wait to help you!   ●  Power Apps  ● Power Automate   ● Power Pages   ● Copilot Studio  

Microsoft Ignite 2023: The Recap

What an amazing event we had this year, as Microsoft showcased the latest advancements in how AI has the potential to reshape how customers, partners and developers strategize the future of work. Check out below some of our handpicked videos and Ignite announcements to see how Microsoft is driving real change for users and businesses across the globe.   Video Highlights Click the image below to check out a selection of Ignite 2023 videos, including the "Microsoft Cloud in the era of AI" keynote from Scott Guthrie, Charles Lamanna, Arun Ulag, Sarah Bird, Rani Borkar, Eric Boyd, Erin Chapple, Ali Ghodsi, and Seth Juarez. There's also a great breakdown of the amazing Microsoft Copilot Studio with Omar Aftab, Gary Pretty, and Kendra Springer, plus exciting sessions from Rajesh Jha, Jared Spataro, Ryan Jones, Zohar Raz, and many more.     Blog Announcements Microsoft Copilot presents an opportunity to reimagine the way we work—turning natural language into the most powerful productivity tool on the planet. With AI, organizations can unearth value in data across productivity tools like business applications and Microsoft 365. Click the link below to find out more.     Check out the latest features in Microsoft Power Apps that will help developers create AI-infused apps faster, give administrators more control over managing thousands of Microsoft Power Platform makers at scale, and deliver better experiences to users around the world. Click the image below to find out more.     Click below to discover new ways to orchestrate business processes across your organization with Copilot in Power Automate. With its user-friendly interface that offers hundreds of prebuilt drag-and-drop actions, more customers have been able to benefit from the power of automation.     Discover how Microsoft Power Platform and Microsoft Dataverse are activating the strength of your enterprise data using AI, the announcement of “plugins for Microsoft Copilot for Microsoft 365”, plus two new Power Apps creator experiences using Excel and natural language.       Click below to find out more about the general availability of Microsoft Fabric and the public preview of Copilot in Microsoft Fabric. With the launch of these next-generation analytics tools, you can empower your data teams to easily scale the demand on your growing business.     And for the rest of all the good stuff, click the link below to visit the Microsoft Ignite 2023 "Book of News", with over ONE HUNDRED announcements across infrastructure, data, security, new tools, AI, and everything else in-between!        

Back to Basics Tuesday Tip #9: All About the Galleries

This is the ninth post in our series dedicated to helping the amazing members of our community--both new members and seasoned veterans--learn and grow in how to best engage in the community! Each Tuesday, we feature new content that will help you best understand the community--from ranking and badges to profile avatars, from Super Users to blogging in the community. Our hope is that this information will help each of our community members grow in their experience with Power Platform, with the community, and with each other!     Today's Tip: All About the Galleries Have you checked out the library of content in our galleries? Whether you're looking for the latest info on an upcoming event, a helpful webinar, or tips and tricks from some of our most experienced community members, our galleries are full of the latest and greatest video content for the Power Platform communities.   There are several different galleries in each community, but we recommend checking these out first:   Community Connections & How-To Videos Hosted by members of the Power Platform Community Engagement  Team and featuring community members from around the world, these helpful videos are a great way to "kick the tires" of Power Platform and find out more about your fellow community members! Check them out in Power Apps, Power Automate, Power Pages, and Copilot Studio!         Webinars & Video Gallery Each community has its own unique webinars and videos highlighting some of the great work being done across the Power Platform. Watch tutorials and demos by Microsoft staff, partners, and community gurus! Check them out: Power Apps Webinars & Video Gallery Power Automate Webinars & Video Gallery Power Pages Webinars & Video Gallery Copilot Studio Webinars & Video Gallery   Events Whether it's the excitement of the Microsoft Power Platform Conference, a local event near you, or one of the many other in-person and virtual connection opportunities around the world, this is the place to find out more about all the Power Platform-centered events. Power Apps Events Power Automate Events Power Pages Events Copilot Studio Events   Unique Galleries to Each Community Because each area of Power Platform has its own unique features and benefits, there are areas of the galleries dedicated specifically to videos about that product. Whether it's Power Apps samples from the community or the Power Automate Cookbook highlighting unique flows, the Bot Sharing Gallery in Copilot Studio or Front-End Code Samples in Power Pages, there's a gallery for you!   Check out each community's gallery today! Power Apps Gallery Power Automate Gallery Power Pages Gallery Copilot Studio Gallery

Unlocking the Power of Community: A Journey with Featued User Group leaders Geetha Sivasailam and Ben McMann

In the bustling world of technology, two dynamic leaders, Geetha Sivasailam and Ben McMann, have been at the forefront, steering the ship of the Dallas Fort Worth Power Platform User Group since its inception in February 2019. As Practice Lead (Power Platform | Fusion Dev) at Lantern, Geetha brings a wealth of consulting experience, while Ben, a key member of the Studio Leadership team at Lantern, specializes in crafting strategies that leverage Microsoft digital technologies to transform business models.   Empowering Through Community Leadership Geetha and Ben's journey as user group leaders began with a simple yet powerful goal: to create a space where individuals across the DFW area could connect, grow their skills, and add value to their businesses through the Power Platform. The platform, known for its versatility, allows users to achieve more with less code and foster creativity.   The Power of Community Impact Reflecting on their experiences, Geetha and Ben emphasize the profound impact that community engagement has had on both their professional and personal lives. The Power Platform community, they note, is a wellspring of resources and opportunities, fostering continuous learning, skill enhancement, and networking with industry experts and peers.   Favorite Moments and Words of Wisdom The duo's favorite aspect of leading the user group lies in witnessing the transformative projects and innovations community members create with the Power Platform. Their advice to aspiring user group leaders? "Encourage diverse perspectives, maintain an open space for idea-sharing, stay curious, and, most importantly, have fun building a vibrant community."   Building Bridges, Breaking Barriers Geetha and Ben encourage others to step into the realm of user group leadership, citing the rewarding experience of creating and nurturing a community of like-minded individuals. They highlight the chance to influence, impact, and positively guide others, fostering connections that extend beyond mere technology discussions.   Joining a User Group: A Gateway to Growth The leaders stress the importance of joining a user group, emphasizing exposure to diverse perspectives, solutions, and career growth opportunities within the Power Platform community. "Being part of such a group provides a supportive environment for seeking advice, sharing experiences, and navigating challenges."   A Year of Milestones Looking back at the past year, Geetha and Ben express pride in the group's growth and global participation. They recount the enriching experience of meeting members in person at the Microsoft Power Platform conference, showcasing the diverse range of perspectives and guest speakers that enriched the community's overall experience.   Continuous Learning on the Leadership Journey As user group leaders, Geetha and Ben recognize the continuous learning curve, blending interpersonal skills, adaptability, and dedication to foster a vibrant community. They highlight the importance of patience, persistence, and flexibility in achieving group goals, noting the significance of listening to the needs and suggestions of group members.They invite all tech enthusiasts to join the Dallas Fort Worth Power Platform User Group, a thriving hub where the power of community propels individuals to new heights in the dynamic realm of technology.

Visit the Community Lounge at Microsoft Ignite!

Are you attending Microsoft Ignite in Seattle this week? If so, we'd love to see you at the Community Lounge! Hosted by members of our Community team, it's a great place to connect, meet some Microsoft executives, and get a sticker or two. And if you're an MVP there are some special opportunities to meet up!     The Community Lounge is more than just a space—it's a hub of activity, collaboration, and camaraderie. So, dive in, explore, and make the most of your Microsoft Ignite experience by immersing yourself in the vibrant and dynamic community that awaits you.Find out the schedule and all the details here: Community Lounge at Ignite! See you at #MSIgnite!    

Users online (2,153)