Announcements
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 } ) )
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( 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 ) );
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 88
WarrenBelz 85 Most Valuable Professional
Valantis 45