A non-transitory computer-readable storage medium storing a control program causing a computer of an information processing apparatus to execute a control method, the control method comprising:
- a reception step of receiving a first notification of an event, from among a plurality of events, that has occurred in a device;
- a setting step of setting a user, from among a plurality of users, who is to be a destination of a second notification based on the event received in the reception step according to (i) a type of the event, from among the plurality of types of events, received in the reception step, (ii) first information that respectively associates a plurality of first groups with each type of event of the plurality of types of events, each of the plurality of first groups including a target post indicating post information and a target department indicating department information, and (iii) second information that respectively associates a plurality of second groups with each user of the plurality of users, each of the plurality of second groups including a user post indicating a post of a respective user of the plurality of users and a user department indicating a department to which the respective user of the plurality of users belongs;
- and
- a notification step of transmitting the second notification to the user set in the setting step.