Hi,
How can i configure this can anyone suggest ?
Discussion posts and replies are publicly visible
For email, you generate a random 4-digit code using random function and dont forgot to convert random to int and then to text, and you can use script task smart service to pass this value in expression and then use Send Email smart service.
iexample: text(int(rand(1) * 10000),"0000")