Review Comment - added an enum for ActivityNodeTypes. And removed an
extra parameter from wrapper in service class.