{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Edge/API Management /
avatar image
0
Question by Toshihiro Shibamoto · Sep 08, 2015 at 10:23 AM · 173 Views api proxyservice calloutfaultrules

Aggregating Raise Fault policies in a single Service Callout policy

Could anyone advise me on how to aggregate multiple instances of Raise Fault policies with <FaultRule> for single Service Callout into one existence of the policy and then exit the flow process on the first occurrence of the fault? That would help error handling process become much simpler than now.

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

1 Answer

  • Sort: 
avatar image
0

Answer by gnanasekaran · Sep 08, 2015 at 03:04 PM

sorry, not sure if understood your question.

I don't think you can aggregate Raisefault policy. If you have complex or have several conditions to be executed and raise fault accordingly I would suggest you to use the JS or python or java extensions to evaluate those conditions and set the variables accordingly, something like this - https://community.apigee.com/answers/9506/view.html

Comment
Add comment Show 2 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Dino ♦♦   · Sep 08, 2015 at 10:59 PM 0
Link

If Mukundha's comment does not answer your question, perhaps you could elaborate a little on what you mean by "aggregate multiple instances of Raise Fault policies" and "exit the flow process on the first occurrence of the fault".

avatar image Toshihiro Shibamoto ♦♦ · Sep 09, 2015 at 12:03 PM 0
Link

@mukundha,@dino Thank you very much for the answer and follow-up. I'll check the reference you suggested to investigate if it can provide the solution we need.

Follow this Question

Answers Answers and Comments

28 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

lookup cache is not working as expected 1 Answer

How to retrieve key alias for SSL Info in Service Callout 2 Answers

ServiceCallout status code is populating as null for timeout or connection refused errors 3 Answers

Please suggest me how to get rid of extra characters that are getting generated when i create a API proxy for a service with query parameters.Thanks in Advance. 1 Answer

How to set isHTTPStatusTooManyRequestEnabled to return 429 http response 12 Answers

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges