Jump to content
  • 0

Triggered Action Issue


ta33ik
 Share

Question

Hi everybody,
I'm new to Caspio and I have my first issue with a trigger, not working as expected. Would appreciate your help here.
I have simplified things as much as possible - 2 tables Trips and Legs, one-to-many relationship TripID to LegID. The idea is that a trigger action sums the leg's mileage to the trip's total mileage.
Below are both tables' design and data, as well as the triggered action. 
The issue is that action sums only the existing leg mileage values, but not the newly inserted/updated ones. We have a total trip mileage of 95, instead of 100.
Thank you :)

Legs_Data.jpg

Legs_Design.jpg

Legs_Trigger.jpg

Trip_Data.jpg

Trip_Design.jpg

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

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