Can I dynamic set activity to auto?

I have a activity.(Not Auto)

But I want to add assignment and auto to next activity.

Thank you.