Hi,
New to Power automate, went through various youtube links and community posts. But stuck in a simple process,
Kindly help me with the below,
I have a CSV file in OneDrive which am trying to import to D365FO in Customer Groups entity.
These are the initial steps i followed,
Compose > newLine, i just clicked enter
Compose >Split>
If 0 < 3
then yes
Apply to each > I skip the header (ColumnName)
Used Create a record and assign values to the customer group id
as split(item(), ',')?[0]
And then I increment the variable to 1.
Expected output:
Loop through records in csv and import in Customergroups dataentity and stop the import if the condition after the last row of the csv.
Actual output:
Apply to each loops already and throws error after creating 3 records with the error, customer group must be filled in.
How i need to change the flow for this condition. Please assist

Report
All responses (
Answers (