Question

Duplicate Interaction Created when creating new interaction from Mash Up

Hi All,

We are using Customer Service Framwork and we provided Mashup script to another system.

When we try to create a new Interaction using Mashup Pega Generated Script

<script src ='https://xxxxx/prweb?pyActivity=pzIncludeMashupScripts'></script>

DoUIAction is triggered 2 times which is creating 2 Interaction case ID.

1. One is after pzIncludemashupScript Activity

2. another one after pzGetURLHashes.

Can anyone help me to fix this issue.

Thanks & Regards

Mohan Sundar

Correct Answer
October 22, 2019 - 10:13am

Can you include the full mashup code? The line you've included only downloads the mashup scripts. Is the defer loading enabled? 

Comments

Keep up to date on this post and subscribe to comments

Pega
October 22, 2019 - 3:04am

what is CS version?

 

October 22, 2019 - 4:24am
Response to rakss

PegaCRM 7.31

Pega
October 22, 2019 - 10:13am

Can you include the full mashup code? The line you've included only downloads the mashup scripts. Is the defer loading enabled? 

October 23, 2019 - 12:08am
Response to Amit_Patel

Please check the full mash up code below . The Parameter isdeferloaded is false. I am not sure whether this answers your question.

<div data-pega-gadgetname ='XXXPegaGadget'

data-pega-action ='createNewWork'

data-pega-action-param-classname ='XXX-XXX-XXX-XXX-Work-Interaction-Call'

data-pega-action-param-flowname ='CPMInteraction'

data-pega-action-param-model =''

data-pega-isdeferloaded ='false'

data-pega-applicationname ='XXX'

data-pega-threadname ='STANDARD'

data-pega-systemid ='pega'

data-pega-resizetype ='stretch'

data-pega-action-param-parameters= '{"CustomerID":"XXXX","CustIdentified":"true","SourceChannel":"CALL_CENTER","InteractionType":"CALL_INBOUND","InteractionID":"XXX","TargetType":"MSISDN","TargetId":"XXXXXXXX","ChannelType":"X","PrimaryUID":"XXXXX","PrimaryUName":"XXXXX","PrimaryUOrgUnit":"collection_&_vetting","PrimaryUOrgName":"Collection & Vetting","PrimaryUPosition":"call_center_lead","SAMAccountName":"XXXXX","HSSUID":"","HSSUName":"","HSSUOrgUnit":"","HSSUOrgName":"","HSSUPosition":"","SupUID":"","SupUName":"","SupUOrgUnit":"","SupUOrgName":"","SupUPosition":"","AuthenticationToken":"XXXXXXXXXXXXXXXXX","UserIdentifier":"XXXXX","pyMashupEnabled":"Enabled"}'

data-pega-url ='https://XX.XXX.X.XXX:XXXX/prweb/PRWebLDAP2'

data-pega-redirectguests ='true' >

</div>

October 24, 2019 - 6:15am
Response to MOHAN2912

I Changed the value for field data-pega-isdeferloaded to true. It works fine. No Duplicate Interaction is getting Created.