Convert & Update Node Suggestion

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
JefferyD
Posts: 177
Joined: August 31st, 2021, 11:37 am
Contact:

Convert & Update Node Suggestion

Unread post by JefferyD »

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.
ToDate Example.PNG
ToDate Example.PNG (53.63 KiB) Viewed 510 times
ToDate Example.PNG
ToDate Example.PNG (53.63 KiB) Viewed 510 times
ToDate Example Result.PNG
ToDate Example Result.PNG (49.74 KiB) Viewed 510 times
ToDate Example Result.PNG
ToDate Example Result.PNG (49.74 KiB) Viewed 510 times
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.
Data Conversion Services.png
Data Conversion Services.png (23.46 KiB) Viewed 510 times
Data Conversion Services.png
Data Conversion Services.png (23.46 KiB) Viewed 510 times

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.
InsertAndUpdateNode Service.png
InsertAndUpdateNode Service.png (84.59 KiB) Viewed 510 times
InsertAndUpdateNode Service.png
InsertAndUpdateNode Service.png (84.59 KiB) Viewed 510 times
InsertAndUpdateNode Result.png
InsertAndUpdateNode Result.png (70.26 KiB) Viewed 510 times
InsertAndUpdateNode Result.png
InsertAndUpdateNode Result.png (70.26 KiB) Viewed 510 times
word count: 271

Tags:
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

Re: Convert & Update Node Suggestion

Unread post by CathyC »

There is a more recent forum post where we were discussing this
viewtopic.php?t=678
word count: 16
JustinVanRegenmorter
Posts: 535
Joined: August 26th, 2021, 9:56 am
Contact:

Re: Convert & Update Node Suggestion

Unread post by JustinVanRegenmorter »

Task 11394 has been created to discuss this feature.
word count: 9
Post Reply