SOLVED
API reponse filter
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
luis_boni97
6 - Meteoroid
‎10-17-2023
08:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I have a API response, I'd like to know how can I filter if the Http fails to send and email if this happen
Thanks
Solved! Go to Solution.
Labels:
- Labels:
- API
- App Builder
2 REPLIES 2
15 - Aurora
‎10-19-2023
04:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@luis_boni97 If you're expecting a 302 response then your filter can be as simple as
CONTAINS([DownloadHeaders],'HTTP/1.1.302')
construct your email using a report text tool connected to the false output of this filter, and use a formula tool to set the To recipient of the email.
Then for every call which doesn't get a 302 response an email will be sent
Hope that helps,
Ollie
‎10-20-2023
01:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @OllieClarke , Thanks for your help and time
