Most of the times when I'm converting dates, I'm doing so for multiple dates across an array of nodes. If I try to apply a ForEachNode for the service, then the resulting conversions cannot reliably be merged back as there's no key to merge back with.
Given the below setup, there's no easy way to reliably match a converted date to the original date that it was converted from.
This can alternatively be handled using a loop method, but that is a lot of setup to just convert dates and it can also produce a lot of logs making debugging a bit more complicated than seems necessary, especially for particularly large arrays.
I've mostly encountered this with the ToDate service, but this can also apply to many other conversion services.
Suggestion
For scenarios where bulk conversions are necessary, it would be nice if a node path could be used in place of a value that would convert it into and append a new node to that path just like how InsertAndUpdateNode functions.
Convert & Update Node Suggestion
-
- Posts: 178
- Joined: August 31st, 2021, 11:37 am
- Contact:
-
- Posts: 472
- Joined: November 16th, 2021, 11:15 am
- Contact:
Re: Convert & Update Node Suggestion
There is a more recent forum post where we were discussing this
viewtopic.php?t=678
viewtopic.php?t=678
word count: 16
-
- Posts: 571
- Joined: August 26th, 2021, 9:56 am
- Contact:
Re: Convert & Update Node Suggestion
Task 11394 has been created to discuss this feature.
word count: 9