How to attach static data to a BPMN or a CMMN user task?

@Minisha_M you can add static data in the Extension properties like below:

image

In order to access these properties at runtime you need to parse it. From TaskListener you can access it like,

ExtensionElements extensionElements =((UserTask) delegateTask.getBpmnModelElementInstance()).getExtensionElements();
Collection<CamundaProperty> properties = extensionElements.getElementsQuery()
          .filterByType(CamundaProperties.class).singleResult().getCamundaProperties();