Hi,
I'm having some issues with receiving webhook events.
I'm having a workflow trigger when the job status is updated to a certain status.
However, when I bulk update a number of job to that status (8 jobs to be exact) only the most recent one is picked up.
Is there a limitation with webhook that doesn't work with bulk updates?
Webhooks - issues with bulk updating jobs
Forum rules
- Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
- No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
- Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
- Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
- Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
- Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
- Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
- Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
-
SimproAPITeam
- Posts: 831
- Joined: Wed May 01, 2024 2:31 am
Re: Webhooks - issues with bulk updating jobs
Hi livbirks,
There should not be limitations to the webhooks if you are doing updates on individual jobs.
How are you doing the update, is it through the API or Simpro? Also are you using our PATCH multiple function or are you updating the jobs separately but in succession?
Regards
There should not be limitations to the webhooks if you are doing updates on individual jobs.
How are you doing the update, is it through the API or Simpro? Also are you using our PATCH multiple function or are you updating the jobs separately but in succession?
Regards
Simpro API Team | Simpro Software Group
Re: Webhooks - issues with bulk updating jobs
Hi Simpro Team,
An end user is multi-selecting jobs in the job list within the Simpro platform. Then they are going to the bottom of the page (see image attached) and bulk updating the status of the selected jobs.
My integration is using the Simpro Webhook with the "job.status" event set to pick up on status changes. However, if they update 8 jobs using the method, I only pick up a change for the last job in that selection. For example they updated the jobs with id's 001, 002, 003 and I only receive the update for job 003 with i'd want to know all 3 have been updated.
Hope this makes sense, thanks in advance.
An end user is multi-selecting jobs in the job list within the Simpro platform. Then they are going to the bottom of the page (see image attached) and bulk updating the status of the selected jobs.
My integration is using the Simpro Webhook with the "job.status" event set to pick up on status changes. However, if they update 8 jobs using the method, I only pick up a change for the last job in that selection. For example they updated the jobs with id's 001, 002, 003 and I only receive the update for job 003 with i'd want to know all 3 have been updated.
Hope this makes sense, thanks in advance.
- Attachments
-
- Screenshot 2024-06-25 at 14.16.15.png (100.31 KiB) Viewed 4762 times
-
SimproAPITeam
- Posts: 831
- Joined: Wed May 01, 2024 2:31 am
Re: Webhooks - issues with bulk updating jobs
Hi livbirks,
Thank you for providing more details.
I have tested this in my side and I can see that it triggers webhooks for each of the jobs being updated through the bulk update functionality. I've tested with both Status and the job stage.
Can you see that the status is actually being updated in the jobs in Simpro?
There has been some webhook delays and errors but that should be sorted now. Could you please test again and if there are issues please send us a private message with your build name, company ID and jobs that has been tested so we can try to recreate it.
Regards
Thank you for providing more details.
I have tested this in my side and I can see that it triggers webhooks for each of the jobs being updated through the bulk update functionality. I've tested with both Status and the job stage.
Can you see that the status is actually being updated in the jobs in Simpro?
There has been some webhook delays and errors but that should be sorted now. Could you please test again and if there are issues please send us a private message with your build name, company ID and jobs that has been tested so we can try to recreate it.
Regards
Simpro API Team | Simpro Software Group
Re: Webhooks - issues with bulk updating jobs
Hi,
We're still having issues so I'll send a private message now.
Thank you!
We're still having issues so I'll send a private message now.
Thank you!
Re: Webhooks - issues with bulk updating jobs
Please mark this as resolved now is poss, thanks!
-
SimproAPITeam
- Posts: 831
- Joined: Wed May 01, 2024 2:31 am
Re: Webhooks - issues with bulk updating jobs
Hi,
That's updated, thank you.
Regards
That's updated, thank you.
Regards
Simpro API Team | Simpro Software Group
DEVELOPER CENTER