Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Implementing the custom plan API

Updated on May 10, 2021

When existing healthcare plans do not meet customer requirements, a sales representative or a partner sales representative creates a custom plan request either directly from the Quote Plan Selection page or from the Create menu, as a standalone request. Pega Sales Automation for Healthcare uses the Custom plan API to send the request for a custom plan to Pega Product Composer for Healthcare. To change the logic that the application uses to send the request, modify one or more of the following API rules:

Pega Sales Automation Implementation Guide
  • Case type name: New plan request
  • Class name: PegaHCSPM-Work-CustomPlanRequest
  • Flow Name: spmRequestCustomPlan
  • Flow action: ExcludeBenefits

    This rule is invoked in the New plan request flow, after the step Not-covered and excluded benefits/services.

  • Data transform: PostBenefitsExclude

    This is a post-processing data transform in the flow action. This data transform will trigger the REST API call only when a New plan request is created by selecting the Copy data from standard plan option.

    Extend to handle a simulation or make a REST call in a different way.

  • Data transform: RequestCustomPlanPOSTExt

    Extend to handle the response in a different way.

  • Data transform: spmGetPlanID

    Extend to simulating PLAN ID creation differently.

  • Data Page: D_RequestCustomPlan

    This data page has a REST connector that is responsible for making the REST call.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us