Question

2
Replies
589
Views
GuilhermeV7620 Member since 2016 17 posts
Capgemini
Posted: 1 year ago
Last activity: 1 year 8 months ago
Closed

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: //10.205.104.142/prweb? 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: //10.205.104.142/prweb'
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" "http://www.w3.org/TR/html4/loose.dtd"><br/>
<htmllang="en"><br/>
<head><br/>
<metahttp-equiv="content-type"content="text/html; charset=utf-8"><br/>
<script src="PegaInternetApplicationComposer.js"></script>
<script>
pega.web.config.gatewayURL="http://<HOST>/prweb/";
pega.web.config.systemID = "PEGA_DEV";
pega.web.config.appName = "LabArq";
</script>
<title>Pega Web Mashup Page</title><br/>
</head><br/>
<body><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 ********************** -->
<script>
pega.web.api.doAction("GadgetA", "createNewWork", "BS-FW-LabArq-Work-Aprovacao", "pyStartCase")
</script>
</div>
</body><br/>
</html>
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 Low-Code App Development Dev/Designer Studio Data Integration Java and Activities Data Integration
Moderation Team has archived post
Share this page LinkedIn