Skip to main content


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

Setting dynamic class references for Business Analyst portal rules in Pega Care Management

Updated on May 12, 2021

If you extend the accelerator classes for alerts, barriers, or fulfillments in your implementation layer, you need to ensure that the work objects are created for the extended classes. To do this, save the DisplayAlertHeader, DisplayBarriersHeader, and DisplayFulfillmentsHeader section rules to the implementation layer and then use dynamic class references to create the work objects.

  1. In Dev Studio, access your implementation layer by clicking application menu Switch application, and then click the name of your implementation layer.
  2. Ensure that you have an unlocked ruleset.
    For more information, see Application rules.
  3. In Dev Studio, enter DisplayAlertHeader, and press Enter.
  4. Click the Section result under the Type tab
  5. To save the section rule, on the Edit Section page, click the Pages & Classes tab, and then perform the following steps.
    1. Click the Add item icon.
    2. In the field in the Page name column, enter Declare_CM_ENV.
    3. In the field in the Class column, enter PegaHC-Care-Env.
    4. Save the section rule.
      For more information, see Sections.
  6. To set the dynamic class reference, on the Edit Section page, click the Design tab.
    1. Click Create Alert, and then click the View properties icon to the right of the button.
    2. In the Cell Properties dialog box, click the Actions tab.
    3. Click the arrow next to Create Work to expand the action.
    4. In the Class Name field, enter Declare_CM_ENV.Value(ALERT_ACCEL_CLASS).
    5. Click Submit.
  7. Check in the section rule.
    For more information, see Checking in a rule.
  8. Repeat steps 3 through 7 for the following section rules:
    1. DisplayBarriersHeader - For this section rule, enter Declare_CM_ENV .Value(BARRIER_ACCEL_CLASS) in step 6.d.
    2. DisplayFulfillmentsHeader - For this section rule, enter Declare_CM_ENV .Value(MATERIALS_ACCEL_CLASS in step 6.d.
  • Previous topic Creating care plan templates in Pega Care Management
  • Next topic Creating program templates in Pega Care Management

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