Get task properties using rest API

@M_Azizi Built-in rest api is not there for fetching extension properties. You can expose a rest api by fetching the bpmn model using repository service.

	@Autowired
	private RepositoryService repositoryService;

	public void parseBpmn(String bpmn20XML ) throws IOException {
		Collection<CamundaProperties> camundaProperties = new ArrayList<>();
		BpmnModelInstance bpmnModelInstance = Bpmn.readModelFromStream(repositoryService.getProcessModel("processDefinitionId"));
		Collection<UserTask> userTasks = bpmnModelInstance.getModelElementsByType(UserTask.class);
		userTasks.stream().forEach(userTask -> {
			if (userTask instanceof UserTask) {
				camundaProperties.addAll((Collection<? extends CamundaProperties>) userTask.getExtensionElements().getElementsQuery()
						.filterByType(CamundaProperties.class).singleResult().getCamundaProperties());
			}
		});
	}

You can refer below examples: