@Override
    public ListenerResult listen(WorkflowContext context) throws WorkflowListenerException {
        StreamResourceProcessForm form = (StreamResourceProcessForm) context.getProcessForm();
        InlongStreamInfo streamInfo = form.getStreamInfo();
        final String groupId = streamInfo.getInlongGroupId();
        final String streamId = streamInfo.getInlongStreamId();
        final String username = context.getOperator();

        // update inlong stream status
        streamService.updateStatus(groupId, streamId, StreamStatus.CONFIG_FAILED.getCode(), username);

        return ListenerResult.success();
    }
The creation process ends abnormally, modify the status of inlong group and all inlong stream
belong to the inlong group to [CONFIG_FAILED]
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/listener/stream/InitStreamFailedListener.java