Posted: 28 Nov 2018 8:24 EST Last activity: 15 Jan 2019 11:57 EST
Calling custom activity from Mashup
Hi All - Can anyone help in providing steps to call custom activity withing Mashup code
Requirement : if user logins for first time , we create a new case . if user logs in next time we need to open the previously created case. Our custom activity handles both the scenario . we are facing issue on how to call this activity from mashup code , I have tried below steps but i dont see the activity getting called in Tracer also error is shown when I run the .html which has the mashup code.
Hi, maybe some other options could work for you. AFAIK mashup provides other actions like show harness... if you try to create harness with layout on which you can apply defer load activity (which will be your activity) -in this harness you can embed proper section/harness in context of work page. would it work for you?
The other option is to use some dummy case type to wrap this logic. In this scenario you could create this dummy case via mashup action (it needs to be temporary case) and within the flow you can apply utility shape with activity and then decide what to display. This could be tricky as you need to handle both work Pages (wrapper and actual case) contexts properly.