How can I get user task XML or attributes from it's Id


I want to get a user task xml from its Id in java
Is something like that applicable?

Or at least get all attributes?

this is the xml:
<bpmn:userTask id=“Activity_03nclgh” camunda:assignee=“Atallah” task:TaskTypeId=“1010” task:StatusCode=“TOD” task:PriorityCode=“L” task:OwnerId=“2” task:AssigneeId=“1” task:EndDate=“Sun May 02 2021 03:00:00 GMT+0300 (Israel Daylight Time)” task:Reminder=“true” task:IsLogitudeTask=“true”>

assume I have the Id : Activity_03nclgh