Skip to main content
LinkedIn
Copied!

Table of Contents

Invoking a fallback strategy

Version:

Only available versions of this content are shown in the dropdown

If a Strategy execution fails due to an exception, Pega Customer Decision Hub invokes a fallback Strategy. The fallback Strategy results in a response when a service activity is executed. To configure the required action data, save the strategy FallbackStrategy into your implementation layer.

When your Container Service exceeds the Service Level Agreement defined for the Container Service by more than a specified number of consecutive violations, Pega Customer Decision Hub invokes a fallback service activity instead of the default service activity. The fallback service activity returns the default set of actions for every request. To change the set of actions, save the FallBackContainerResponse data transform into your implementation layer and configure the default Container Service response.

A sample response from the invocation of this service is shown below:

"ContainerList": [
        {   "Status": "OK",
            "ContainerName": " TopOffers ",
            "RankedResults": [
                {
                    "Group": "Default",
                    "Issue": "Fallback",
                    "InteractionID": "-8654833423861133119",
                    "Category": "Category",
                    "CustomerCost": "0",
                    "WhyRelevant": "WhyRelevant",
                    "Benefits": "Benefits",
                    "Direction": "Direction",
                    "Name": "FallbackOffer",
                    "ShortDescription": "ShortDescription",
                    "PaidAudienceName": "PaidAudienceName",
                    "Identifier": "Identifier",
                    "Pricing": "Pricing",
                    "JourneyStage": "JourneyStage",
                    "JourneyStep": "JourneyStep",
                    "EligibilityDescription": "EligibilityDescription",
                    "Propensity": "0",
                    "AgentCompensation": "0",
                    "Priority": "0",
                    "ClassIdentifier": "Offer",
                    "Channel": "Channel",
                    "ImageURL": "ImageURL",
                    "Rank": "1",
                    "BundleParent": "BundleParent",
                    "Variant": "Variant",
                    "Treatment": "Treatment",
                    "InternalCost": "0",
                    "CampaignID": "CampaignID",
                    "OfferValue": "0",
                    "ClickThroughURL": "ClickThroughURL",
                    "Journey": "Journey"
                }
            ]
        } ]
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us