Hello!
I was reviewing code in a logic block and noticed that two inserts to the same table had the exact same name (InsertSalesOrderDetail). I would have expected the system to error for a duplicate name but it did not. Are inserts with the exact same name permitted or should I create a freshdesk ticket?
Please let me know and thank you.
Hi Ellen!
Looks like we do allow multiple Insert actions to use the same name for their result. I do not think we can change this behavior as it’s been in play for a very long time and people are relying on it. The primary use case for this is:
- Multiple paths in a Conditional insert to the same table and use the same name. After the conditional, whichever thing was inserted needs to be updated (regardless of how it was inserted), so it can just be referenced by name and whichever Conditional path was taken will be used.
3 Likes