def METHOD_NAME(
    self,
    app: Flask,
    client: FlaskClient,
    with_db_and_bpmn_file_cleanup: None,
    with_super_admin_user: UserModel,
) -> None:
    with self.app_config_mock(app, "SPIFFWORKFLOW_BACKEND_EXTENSIONS_API_ENABLED", True):
        process_model = self.create_group_and_model_with_bpmn(
            client=client,
            user=with_super_admin_user,
            process_group_id="extensions",
            process_model_id="script_task_with_import",
            bpmn_file_location="script_task_with_import",
            bpmn_file_name="script_task_with_import.bpmn",
        )
        # we need a process instance in the database so the scriptTask can work
        self.create_process_instance_from_process_model(process_model, user=with_super_admin_user)
        response = client.post(
            f"/v1.0/extensions/{self.modify_process_identifier_for_path_param(process_model.id)}",
            headers=self.logged_in_headers(with_super_admin_user),
        )
        assert response.json is not None
        assert "task_data" in response.json
        task_data = response.json["task_data"]
        assert "pi_json" in task_data
        assert "id" in task_data["pi_json"]
        assert re.match(r"^\d+$", str(task_data["pi_json"]["id"]))