Question

4
Replies
65
Views
Close popover
Mayur Tadepalli (tadem)
PEGA
Lead System Architect
Pegasystems Inc.
US
tadem Member since 2013 5 posts
PEGA
Posted: October 31, 2020
Last activity: November 2, 2020

Retrieve parameters passed in mashup

I have seen questions on how to retrieve parameter values passed via mashup and I am facing an issue where I can see the parameter value but am not able to set it to the workpage.

My mashup code is

<html>  <body>  <!-- ********************** Begin Pega content ********************** --> <script src ='http://localhost:8080/prweb/PRServlet/app/CRMFS1_7089/?pyActivity=pzIncludeMashupScripts'></script&gt; <div data-pega-gadgetname ='PegaGadget'  data-pega-action ='createNewWork'  data-pega-action-param-classname ='UPlus-CRMFS1-Work-MSRInteraction'  data-pega-action-param-flowname ='pyStartCase' data-pega-action-param-model ='pyDefault' data-pega-isdeferloaded ='false'  data-pega-applicationname ='CRMFS1'  data-pega-threadname ='LostOrStolen'  data-pega-systemid ='pega' data-pega-resizetype ='stretch'  data-pega-url ='http://localhost:8080/prweb/PRServlet/app/CRMFS1_7089/'  data-pega-action-param-parameters ='{"MemberGuid":"abc","pzSkinName":"CRMFS1","pyMashupSkeletonName":"pyDefaultMashupSkeleton"}'  data-pega-redirectguests ='true' ></div>

<!-- ********************** End Pega content ********************** --> </body>   

On the pega flow, in the pyDefault of the case, I am doing a set of .MemberGuid to Param.MemberGuid. In the assignment, I have a section where I am showing .MemberGuid as well as Param.MemberGuid. What I am seeing is that the Param.MemberGuid values show but the .MemberGuid does not. How have other been able to use the parameters that Have been passed from Mashup

***Edited by Moderator Marissa to update Platform Capability tags****
Pega Platform 8.5 User Experience