Forum Discussion
mrhooki
Dec 10, 2019Tin Contributor
Flow create item in another SharePoint list not working (due to destination list column format)
I have a flow creating an item in a "destination" SPO list when an item is created in a "source" SPO list. In source list, when an item is created, the item is updated (with flow), putting ID into ...
- Dec 12, 2019
Damien_Rosariothanks for all you help. I removed the get items and compose to avoid (unresolved) duplication after changing number of decimals in destination list UniqueID and Increment number columns from auto to 0 (consistent with other lists). The devil can certainly be in the details..
mrhooki
Dec 10, 2019Tin Contributor
Damien_Rosarioyour assumptions are all correct, except destination uniqueID column is number, not txt. Get items returns the same value in destination list, i.e. without increment number. An identical flow, also with calculation in source list and number in destination list returns correct value (without get items).
Damien_Rosario
Dec 10, 2019Silver Contributor
Hi mrhooki
Is the source list producing the correct result as intended? If yes, maybe try a Compose box after Create Item (Source list) and put the unique ID into that to see what value it is retrieving in the run log?
Super annoying that you have the same set up elsewhere but it's giving you a different result here.
Hope you figure it out soon friend!
Cheers
Damien
- mrhookiDec 11, 2019Tin Contributor
Damien_Rosariomoving outputs (uniqueID) from compose to create item as reference for uniqueID solves problem with wrong value in destination list, but creates a new problem: each item is entered 100 times for some reason.
- Damien_RosarioDec 11, 2019Silver Contributor
Hi mrhooki
For the first bit, your column is called 'UniqueID' and in the other it's called 'Unique ID' with a space between (_x0020_). In itself isn't an issue at all unless you don't reference it right in your flow.
For the second bit, not sure why the result is repeating without visually seeing the flow set up.
If you can, could you please provide us a screen grab of the affected part of your flow for us to see the source and destination actions? Hard to diagnose without it.
I suspect it's a small something that is probably easily overlooked that could be the cause of your grief. I'm happy to explore it with you if you want to continue diagnosing it (and the other forum experts will likely chime in if they see the solution too).
Cheers
Damien
- mrhookiDec 12, 2019Tin Contributor
Damien_Rosariothanks for all you help. I removed the get items and compose to avoid (unresolved) duplication after changing number of decimals in destination list UniqueID and Increment number columns from auto to 0 (consistent with other lists). The devil can certainly be in the details..
- mrhookiDec 10, 2019Tin Contributor
Damien_RosarioCompose shows the correct input- and output values. When comparing output from the two identical flows, one flow returns the correct value in destination list column "UniqueID", whilst the other returns the wrong value in destination list column "Unique_x0020_ID". I don't know the significance of this?