Jump to content
  • 0

Triggered Action does not update External Table


Johan
 Share

Question

The triggered action in the Assessment file (ref. below PRTSCR 1)  should update the 'ResultTable' with five records with data from the current record on #inserted.
The first record to be inserted however is created but not filled with data. The four last records are correctly created with correct data.  (ref below PRTSCR 2)

The entry of records in the Assessment file is based on one Submission form and 12 subsequent Single Record Update forms.

Records 2 to 5 in the new table are based on data in the Submission form. 
Record 1 in the new table is based on data from different Single Record Update forms.

-> Is the use of data from Single Record Update forms the cause of the problem ?

+ I tried to change the action to 'insert and update' but this didn't help...

Any help appreciated ...

Triggered action:

image.thumb.png.ae8f5fd61af0dbe53f168a08bb22df41.png

 

ResultTable output:

image.thumb.png.769f7d3fdcdb20b541eae171978b2156.png

 

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I found it, and indeed , this was the root cause. 

The solution is pretty obvious, though not clearly documented in the Caspio guidance (I am not a developer): 

I defined two triggered actions: one for inserting data into the table and on for updating the table. Both can be used at the same time.

Caspio has a lot of secrets, and I try to find out step by step.

Thanks  for helping me taking this extra step  :)

Johan

Link to comment
Share on other sites

  • 0

You may not need it now but you can also create one for delete action. Please note that there can only be 1 triggered action enabled per action. So if you have two triggered action for insert action, enabling 1 of them will automatically disable the another. 

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...
 Share

×
×
  • Create New...