Close popover
Guilherme Valino (GuilhermeV7620)
Lead System Architect
GuilhermeV7620 Member since 2016 20 posts
Posted: January 24, 2019
Last activity: January 25, 2019

What does it take for the mashup to work correctly?

I am conducting a feasibility analysis to be able to use the features of PEGA Web MashUp. However, I am facing some difficulties. I am using version 7.2.2 of PEGA.

I want to create a task through MashUp, following the code orientation presented in the case:

<! - ********************** Begin Get content ********************* * ->
<script src = 'http: // pyActivity = pzIncludeMashupScripts'> </ script>
<div date-catch-gadgetname = 'PegaGadget'
date-catch-action = 'createNewWork'
date-catch-action-param-classname = 'BS-FW-LabArq-Work-Approval'
date-catch-action-param-flowname = 'pyStartCase'
date-catch-action-param-model = ''
date-catch-isdeferloaded = 'false'
date-tag-applicationname = 'LabArq'
date-catch-threadname = 'STANDARD'
data-catch-systemid = 'PEGA_DEV'
date-catch-resizetype = 'stretch'
data-get-url = 'http: //'
date-catch-redirectguests = 'false'> </ div>

End of page content ********************* * ->

I have created an html page, in which I am making the mashup call. I verified that the request arrived at the application server, checking the requestor manager and it is able to execute the pzIncludeMashupScripts activity. However, I noticed that the case that was indicated in the DIV was not triggered.

Here is the code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""><br/>
<metahttp-equiv="content-type"content="text/html; charset=utf-8"><br/>
<script src="PegaInternetApplicationComposer.js"></script>
pega.web.config.systemID = "PEGA_DEV";
pega.web.config.appName = "LabArq";
<title>Pega Web Mashup Page</title><br/>
<p>This page will host a Pega Web Mashup</p><br/>
<p>POC DO MASHUP</p><br/>
<script src ='http://<host>/prweb?pyActivity=pzIncludeMashupScripts'></script>
<!-- ********************** Begin Pega content ********************** -->
<div id="GadgetA" data-pega-gadgetname ='GadgetA' style="overflow:auto;"
data-pega-action ='createNewWork'
data-pega-action-param-classname ='BS-FW-LabArq-Work-Aprovacao'
data-pega-action-param-flowname ='pyStartCase'
data-pega-action-param-model =''
data-pega-isdeferloaded ='false'
data-pega-applicationname ='LabArq'
data-pega-threadname ='STANDARD'
data-pega-systemid ='PEGA_DEV'
data-pega-url ='http://<HOST>/prweb'
data-pega-resizetype ='stretch'
data-pega-redirectguests ='false' >
<!-- ********************** End Pega content ********************** -->
pega.web.api.doAction("GadgetA", "createNewWork", "BS-FW-LabArq-Work-Aprovacao", "pyStartCase")
What should I do ? What should I check? I've read several forums, but I need a more direct direction to adjust my problem.
Low-Code App Development Enterprise Application Development Dev/Designer Studio Data Integration Java and Activities
Moderation Team has archived post