Question

2
Replies
699
Views
Guilherme Valino (GuilhermeV7620)
CI&T
Lead System Architect
CI&T
BR
GuilhermeV7620 Member since 2016 20 posts
CI&T
Posted: January 24, 2019
Last activity: January 25, 2019
Posted: 24 Jan 2019 21:22 EST
Last activity: 25 Jan 2019 6:26 EST
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:


Show More

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.

Show Less
Low-Code App Development Enterprise Application Development Dev/Designer Studio Data Integration Java and Activities
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.