Could not update class name in pega web mashup

Hi,

While generating mashup code for Create new case, the mashup contains the class name where the case type is created. But I need the case to be created in a different class. How can I achieve this?

@swathib5076

Please change the class name over here(highlighted in bold)…

data-pega-action =‘createNewWork’
data-pega-action-param-classname =‘O0966G-Traditio-Work-EventCapture’

@RameshSangili Even after updating, that work object is being created in the original class. What we did instead is updated the class name in Case Type and then generated the mashup code, now it is working fine.

Thanks for the reply :slight_smile: