Activities inside State Diagrams

hello everybody,

I have a question about the internal activities inside a state. Because the activities i have in certain states are somehow complex i wanted to link them to an activity diagrams is this possible using Visual Paradigm or any other tool. if so, please attach me an example.
If no, can you suggest me another way to deal with these activities inside the states.

thank you very much for you help.