Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

quote function is used without using library name

SA-29531

Summary



The options are not popluated for few of the drop downs of ootb HTML Data-Portal .pyMyProcessActions (Bulk action) rule, hence the dropdown does not render any option for user  to select from the screen. 

Error Messages



Observed following error in log:
Please be more specific when calling this function by providing library and ruleset.

Steps to Reproduce

  1. Launch User portal
  2. Click process work tab
  3. Check  “Bulk process by work type” dropdown, you will find no options to select.


Root Cause



A defect in Pegasystems’ code or rules :
 User is calling pxGetAvailableWorkClasses activity to get workpool information and to populate thedropdown, HTML Data-Portal .pyMyProcessActions is used.

The issue is due to the errors thrown in the pxGetAvailableWorkClasses activity, the reason is @quote function is used in pxGetAvailableWorkClasses activity  without a library name. 

Full syntax for calling a function, Example- @(RuleSet:libraryname).functionname(arg1, arg2... argn) is to be used.
If changes are made to this in the actvity then it works as expected.


Resolution



Apply HFix-30166
 
Description of Changes:
Need to update step2 and step6 of pxGetAvailableWorkClasses activity to provide full namespace for quote function. 

@(Pega-RULES:Default).quote(.pyRuleName) 
@(Pega-RULES:Default).quote(.pyClassName)Tried to modify @(Pega-RULES:Default).quote(String)
 
Additional Installation Instructions:
Logoff and login

Published October 27, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 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