Replace Case Subject with Case Number

Replace Case Subject with Case Number

Hello,

I've been trying to create a function that replaces the content of Case Subject with a Prefix+System Case Number as soon as the case is created. Still new to Deluge and having issues with function programming.

Any Deluge guru's help would be appreciated.