A method and apparatus for
information processing in a game, and an electronic device. The method comprises: generating a target component in response to a task creation operation, the target component comprising at least one task entry (S102); and in response to a sharing operation for the target component, sharing the target component to a designated
system of a game, so as to add, by triggering the target component in the designated
system, the task entry corresponding to the target component to a task
system of the game (S104). In the method, a player can perform task creation according to requirements, and generate the target component comprising the task entry, thereby improving the efficiency of task creation. In addition, the player can share the target component to the designated system of the game, so that the player can import the target component into the task system of the game by one click. In the method, the target component is used for
task sharing and circulation, which helps other players to view, import, and perform execution, thereby improving the game experience of players.