open id 

HomeFlows

Update List Item Messages in this topic - RSS

christopher_salas
christopher_salas
Posts: 85


1/31/2020
I have a need to update a List item passed into a flow and output the list with this update. I cant seem to find and Update List Item action. Is there a way to do this?
0 link
james.hartzell@decisions.com
james.hartzell@decisions.com
Administrator
Posts: 263


1/31/2020
james.hartzell@decisions.com
james.hartzell@decisions.com
Administrator
Posts: 263
Having a Create Data step in a loop with the new value for the item with its output mapping set to Change Value and a rule or other way of identifying the item that needs to be changed is a way to go about this.

  • List enters a loop
  • Rule checks list item
  • If the list item is what you intend to update, branch out of the loop to a Create Data step
  • Output of the Create Data step changes the value of the item
0 link
Manuel Valera
Manuel Valera
Posts: 2


21 days ago
Manuel Valera
Manuel Valera
Posts: 2
Hi, is there an updated version of this answer? I am currently trying to update a data structure with records from a CSV, the procedure suggested by James works but it is extremely slow. I am looking for a faster approach. Thanks.
edited by Manuel Valera on 11/8/2022
0 link
mike.marushia@decisions.com
mike.marushia@decisions.com
Administrator
Posts: 48


21 days ago
mike.marushia@decisions.com
mike.marushia@decisions.com
Administrator
Posts: 48
Hello,

You can use the Import From CSV action by right clicking on your CSV Data structure. I have attached a screenshot here for reference


Attachments:
importcsvaction.png
0 link
mike.marushia@decisions.com
mike.marushia@decisions.com
Administrator
Posts: 48


21 days ago
mike.marushia@decisions.com
mike.marushia@decisions.com
Administrator
Posts: 48
Hello,

You can use the Import From CSV action by right clicking on your CSV Data structure. I have attached a screenshot here for reference


0 link
Manuel Valera
Manuel Valera
Posts: 2


21 days ago
Manuel Valera
Manuel Valera
Posts: 2
Hi Mike, thanks for the quick answer,

Importing the CSV file is fine, I do that by a "feed CSV row one by one" and parsing the row results with "assign CSV values", then I can either add the items to the end of a list and create the CSV file in the structure that I need it, but what I need to do is updating an already existing data structure with data. In python, for example, this would be a Merge operation by IDs. How do I update a data structure that has to join by IDs on decisions with performance in mind?

Thanks,

Edit: this is in Decisions 6
edited by Manuel Valera on 11/8/2022
0 link
Mohd Sami Uddin
Mohd Sami Uddin
Administrator
Posts: 22


21 days ago
Mohd Sami Uddin
Mohd Sami Uddin
Administrator
Posts: 22
Hello Manuel,

We have submitted a support ticket on your behalf and we are going to follow up on that ticket.

Regards,
Sami
0 link






Powered by Jitbit Forum 8.3.8.0 © 2006-2013 Jitbit Software