Let's imagine that I have the following scenario:
I have three states in a state machine coded in gen_statem with state_functions. From the state A to B I do need a trigger but I want that from state B to C I do not need, because state B is going to execute some code and then pass the machine state to state C (named Idle), to wait others inputs. Check the following picture that illustrates the state machine:

Is it possible to do this? By now I only was able to pass state to state with a trigger.