Forum Discussion
Then For each "match/Regex filtered group" (because it's split by a semi-colon or a comma in your case), you can then use each group to create a new record.
So in the subsequent create record step, map the regex step's Group 1 to the new table: {{b.group_1}}
See screenshots below for reference.
Enjoy!
------------------------------
Kristoffer Keene
------------------------------
------------------------------
Paul Peterson
------------------------------
- KristofferKeen14 years agoQuickbase StaffHey Paul, I hope the screenshot below helps direct you better:
You could prepare the upsert as step b and have one final import/upsert at the very end of all records found, but in the example above, I showed how to prepare and upsert per split.
I think your biggest question is around getting the search step to match the split field, so here's another screenshot setting the search query to match the Regex's group 1 response:
Let me know if you have any additional questions :)
------------------------------
Kristoffer Keene
------------------------------- PaulPeterson14 years agoQrew Assistant Captain
Thank you! This is creating the results I need. It's painfully slow and that is a concern since this was run in a test instance of the app with about 10% of the data in the production app. Fortunately, I have a meeting with an SA soon and will use this as the starting point and will share their suggestions.
Thanks again for your help!!
------------------------------
Paul Peterson
------------------------------ - FrancescoSpiga3 years agoQrew MemberSorry to jump in this conversation, but that's the only one that seems close to my dilemma!
I need to have the pipeline loop through 2 fields ( from the updated record).
The fields are 2 dates and I need to create a record for each date in an unrelated table.
Any suggestions?
Thank you!
------------------------------
Francesco Spiga
------------------------------- KristofferKeen13 years agoQuickbase StaffHey Francesco-
How are the date fields separated? (with a semi-colon or comma or another delimiter?)
------------------------------
Kristoffer Keene
------------------------------
- Curtis_M18 days agoQrew Cadet
Thank you for this! It worked wonderfully!
I had a problem where I have Record A with children, and those children have children. I have record A pulling all the grandchildren they are related to into a summary field. I used your regex match solution to generate a table based on those values. This all ties into a rather complex cross-reference conditional selection workflow.
The only change I made was the order of where the Prepare Bulk Upsert step went:
A: Search Records in Table 1; Filter: [Multiselect field] IS SET
B: Prepare Bulk Upsert for Table 2
Loop FOR EACH A:Search Record
C: Match Regex to look at the multiselect field
Loop FOR EACH C:Match Regex
Create Upsert for Step B
D: Commit UpsertThis way I only have a single upsert action that happens outside the loops. This works very well for what I need to do since I'll want the table to reflect daily what the updated grandchild list for the Records A in Table 2.