We need attached the workflow task based on the change order category and change type.
Important - According to the change type & change order category - workflow task will be various.
I assume you are talking about Classic Workflow and not CA Workflow (CAWF) or Process Automation Manager (PAM).
Workflow is defined by category, change type is not considered.
However, if you want some tasks skipped depending on the change type then you could add a condition and an action to the Pending status for the task. That is, when the task goes Pending the condition would test the change type and the action would be to change the task status to Skip.
Retrieving data ...