Jump to content
  • 0

Task to update a record when the ID match in both tables


Kuroshi

Question

How can I create a a task that will update the records on table1 with the information on table 2 when the ID match in both tables? I already have all my records in the table 2that's why I come up with creating a Task instead of a triggered action. Can you help me creating this? 

Thanks.

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Hi everyone, just wanted to add these links too. It helped me a lot when I was just getting started with tasks.

 

https://howto.caspio.com/tasks/

And since Application tasks and Triggers are somewhat similar, these were helpful too.

https://howto.caspio.com/tables-and-views/triggered-actions/

https://www.caspio.com/webinars/introduction-to-triggered-actions/

 

Link to comment
Share on other sites

  • 0

Hi @Batchini,

I understand that you wanted to store the records from table 1 to table 2 if the ID is not existing in table 2. You can refer to this Task configuration that I have created:
4185189
Again, with this configuration, let's assume that the Child_tbl_ is the 'Table 2' and the 'Parent_tbl' is the 'Table 1. The records will be inserted in table 2 if the ID of the records from Table 1 does not exist on this specific table.

I hope this works! 

Barbie

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...