• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

How do you handle the data and get the latest response when data changes?

amir

Member
I get some data from API/GET, and it always has a different get; first, it had "0", then "1," and now "2" .. in the future it might have "3" or "4" ... my question is how do I always get the latest value? Kindly advise


1688096952238.png
 

amir

Member
Here are a couple of responses that I copied by turning off Simple Response


Code:
[{"id":140,"code":"waiting-on-team","name":"Waiting on team","displayOrder":0,"isCustom":true,"color":"","icon":"","createdAt":"2021-01-28T00:32:00Z","updatedAt":"2021-01-28T00:32:00Z","createdBy":{"id":390813,"type":"users"},"updatedBy":{"id":390813,"type":"users"},"state":"active"},{"id":131,"code":"in-progress","name":"In Progress","displayOrder":0,"isCustom":true,"color":"#16BC9E","icon":"","createdAt":"2020-12-17T23:04:58Z","updatedAt":"2020-12-17T23:05:27Z","createdBy":{"id":390813,"type":"users"},"updatedBy":{"id":390813,"type":"users"},"state":"active"},{"id":1,"code":"active","name":"Active","displayOrder":0,"isCustom":false,"color":"#44d335","icon":"status-new","createdAt":"0001-01-01T00:00:00Z","updatedAt":"0001-01-01T00:00:00Z","createdBy":{"id":0,"type":"users"},"updatedBy":{"id":0,"type":"users"},"state":"active"}]


Code:
[{"id":1,"code":"active","name":"Active","displayOrder":0,"isCustom":false,"color":"#44d335","icon":"status-new","createdAt":"0001-01-01T00:00:00Z","updatedAt":"0001-01-01T00:00:00Z","createdBy":{"id":0,"type":"users"},"updatedBy":{"id":0,"type":"users"},"state":"active"},{"id":140,"code":"waiting-on-team","name":"Waiting on team","displayOrder":0,"isCustom":true,"color":"","icon":"","createdAt":"2021-01-28T00:32:00Z","updatedAt":"2021-01-28T00:32:00Z","createdBy":{"id":390813,"type":"users"},"updatedBy":{"id":390813,"type":"users"},"state":"active"},{"id":131,"code":"in-progress","name":"In Progress","displayOrder":0,"isCustom":true,"color":"#16BC9E","icon":"","createdAt":"2020-12-17T23:04:58Z","updatedAt":"2020-12-17T23:05:27Z","createdBy":{"id":390813,"type":"users"},"updatedBy":{"id":390813,"type":"users"},"state":"active"}]


Code:
[{"id":1,"code":"active","name":"Active","displayOrder":0,"isCustom":false,"color":"#44d335","icon":"status-new","createdAt":"0001-01-01T00:00:00Z","updatedAt":"0001-01-01T00:00:00Z","createdBy":{"id":0,"type":"users"},"updatedBy":{"id":0,"type":"users"},"state":"active"},{"id":141,"code":"top-priority","name":"Top Priority","displayOrder":0,"isCustom":true,"color":"","icon":"","createdAt":"2021-01-30T21:22:04Z","updatedAt":"2021-01-30T21:22:04Z","createdBy":{"id":390813,"type":"users"},"updatedBy":{"id":390813,"type":"users"},"state":"active"},{"id":140,"code":"waiting-on-team","name":"Waiting on team","displayOrder":0,"isCustom":true,"color":"","icon":"","createdAt":"2021-01-28T00:32:00Z","updatedAt":"2021-01-28T00:32:00Z","createdBy":{"id":390813,"type":"users"},"updatedBy":{"id":390813,"type":"users"},"state":"active"},{"id":131,"code":"in-progress","name":"In Progress","displayOrder":0,"isCustom":true,"color":"#16BC9E","icon":"","createdAt":"2020-12-17T23:04:58Z","updatedAt":"2020-12-17T23:05:27Z","createdBy":{"id":390813,"type":"users"},"updatedBy":{"id":390813,"type":"users"},"state":"active"}]


Code:
[{"id":141,"code":"top-priority","name":"Top Priority","displayOrder":0,"isCustom":true,"color":"","icon":"","createdAt":"2021-01-30T21:22:04Z","updatedAt":"2021-01-30T21:22:04Z","createdBy":{"id":390813,"type":"users"},"updatedBy":{"id":390813,"type":"users"},"state":"active"},{"id":140,"code":"waiting-on-team","name":"Waiting on team","displayOrder":0,"isCustom":true,"color":"","icon":"","createdAt":"2021-01-28T00:32:00Z","updatedAt":"2021-01-28T00:32:00Z","createdBy":{"id":390813,"type":"users"},"updatedBy":{"id":390813,"type":"users"},"state":"active"},{"id":131,"code":"in-progress","name":"In Progress","displayOrder":0,"isCustom":true,"color":"#16BC9E","icon":"","createdAt":"2020-12-17T23:04:58Z","updatedAt":"2020-12-17T23:05:27Z","createdBy":{"id":390813,"type":"users"},"updatedBy":{"id":390813,"type":"users"},"state":"active"},{"id":1,"code":"active","name":"Active","displayOrder":0,"isCustom":false,"color":"#44d335","icon":"status-new","createdAt":"0001-01-01T00:00:00Z","updatedAt":"0001-01-01T00:00:00Z","createdBy":{"id":0,"type":"users"},"updatedBy":{"id":0,"type":"users"},"state":"active"}]


Code:
[{"id":1,"code":"active","name":"Active","displayOrder":0,"isCustom":false,"color":"#44d335","icon":"status-new","createdAt":"0001-01-01T00:00:00Z","updatedAt":"0001-01-01T00:00:00Z","createdBy":{"id":0,"type":"users"},"updatedBy":{"id":0,"type":"users"},"state":"active"},{"id":141,"code":"top-priority","name":"Top Priority","displayOrder":0,"isCustom":true,"color":"","icon":"","createdAt":"2021-01-30T21:22:04Z","updatedAt":"2021-01-30T21:22:04Z","createdBy":{"id":390813,"type":"users"},"updatedBy":{"id":390813,"type":"users"},"state":"active"},{"id":140,"code":"waiting-on-team","name":"Waiting on team","displayOrder":0,"isCustom":true,"color":"","icon":"","createdAt":"2021-01-28T00:32:00Z","updatedAt":"2021-01-28T00:32:00Z","createdBy":{"id":390813,"type":"users"},"updatedBy":{"id":390813,"type":"users"},"state":"active"},{"id":131,"code":"in-progress","name":"In Progress","displayOrder":0,"isCustom":true,"color":"#16BC9E","icon":"","createdAt":"2020-12-17T23:04:58Z","updatedAt":"2020-12-17T23:05:27Z","createdBy":{"id":390813,"type":"users"},"updatedBy":{"id":390813,"type":"users"},"state":"active"},{"id":4,"code":"on-hold","name":"On-hold","displayOrder":10000,"isCustom":false,"color":"#24ccee","icon":"status-on-hold","createdAt":"0001-01-01T00:00:00Z","updatedAt":"0001-01-01T00:00:00Z","createdBy":{"id":0,"type":"users"},"updatedBy":{"id":0,"type":"users"},"state":"active"}]
 
P

Pabblymember11

Guest
Hey @amir

Can you please elaborate on the condition which you want to achieve in the automation?
 

amir

Member
Hey @amir

Can you please elaborate on the condition which you want to achieve in the automation?

I want to get the Current Status of the Ticket through API, but when I GET data, it pulls multiple records that were previously used on Ticket. my goal is only to get data for the Current Status that way I can always get fresh data
 
Top