Notifications
Announcements
ClearCollect( colFilteredItems, ForAll( Filter( GallCCOrderItems.AllItems, !IsBlank(ddGLChoice.Selected.Value) ), { OrderID: Text(ThisRecord.OrderID), // Ensure OrderID is treated as text GLChoice: ThisRecord.ddGLChoice.Selected, // Store the selected GLChoice RowID: ThisRecord.ID // Store the selected GLChoice } ) ); // Step 2: Trigger the flow to update SharePoint list ForAll( colFilteredItems As item, Notify("Patching OrderID: " & Text(item.OrderID) & " with GLChoice: " & item.GLChoice.Value, NotificationType.Information); 'HM-PRCCUpdateGLChoiceAndApproval'.Run( Text(item.GLChoice.Value), // Pass the selected GLChoice value Text(item.OrderID), // Pass the selected OrderID Text(item.RowID) // Pass the selected OrderID ) );
With( { _Items: AddColumns( Filter( CCOrderItems, OrderID = Text(ddRequisitionID.Selected.ID) ), OrderTxt, Text(OrderID) ) }, ForAll( _Items As _I, Patch( CCOrderItems, LookUp( CCOrderItems, OrderID = _I.OrderTxt ), { GLChoice: {Value: _I.ddGLChoice.Selected.Value} } ) ) );
ClearCollect( colilteredItems, ForAll( Filter( Gallery1.AllItems, !IsBlank(ddGLChoice.Selected.Value) ), { OrderID: ThisRecord.ID, // Here You have to put field with ID number from Your source GlChoice: ThisRecord.ddGLChoice.Selected.Value } ) ) ForAll( colFilteredItems, Patch( CCOrderItems, LookUp(CCOrderItems, OrderID = ThisRecord.OrderID), { GLChoice: ThisRecord.GlChoice } ) )
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Kalathiya 421
WarrenBelz 365 Most Valuable Professional
MS.Ragavendar 339 Super User 2025 Season 2