code: def create_process_behavior(self, behavior, process_id):
          
          route_values = {}
          if process_id is not None:
              route_values['processId'] = self._serialize.url('process_id', process_id, 'str')
          content = self._serialize.body(behavior, 'ProcessBehaviorCreateRequest')
          response = self._send(http_method='POST',
                                location_id='d1800200-f184-4e75-a5f2-ad0b04b4373e',
                                version='5.0-preview.2',
                                route_values=route_values,
                                content=content)
          return self._deserialize('ProcessBehavior', response)
docs: CreateProcessBehavior.
          [Preview API] Creates a single behavior in the given process.
          :param :class:`<ProcessBehaviorCreateRequest> <azure.devops.v5_0.work_item_tracking_process.models.ProcessBehaviorCreateRequest>` behavior:
          :param str process_id: The ID of the process
          :rtype: :class:`<ProcessBehavior> <azure.devops.v5_0.work_item_tracking_process.models.ProcessBehavior>`