If SC Policy is to be used when you want to call more than 1 target how is it different from Route Rules?
Hope Sidhdharth's answer helped
Hi @Pranav Chaudhary, if you want to call a third party REST API from within a flow, we use SC Policy.
Let's say you have a single TargetEnpoint, which is protected via 3rd party OAuth token. So before hitting this target endpoint, you can make a call to your 3rd party REST OAuth service using SC Policy, get the token and set it as a header.
---
If you have multiple TargetEdpoints, you can use Route Rules with conditions to call a specific TargetEndpoint,
---
If you have more than one target and want to loadbalance between them, then use Target Servers with LoadBalancer.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |