the corresponding process, which runs on deprtment deletion has an "Unknown process step generation parameter".
IMO this shouldn't happen, because, if the $PC(shortname_old)$ is not provided, the process should still run and not fail with the following error ...:
Error generating processes for event Delete.
Error executing script 'Event_Delete'.
Error generation process step event Delete.
Error generating process CCC_Department_Delete_Remove_RG_Groups.
Error executing prescript.
Unknown process step generation parameter: shortname_old.
Any helping suggestions?
Prescript of process
Dim shortname as String = {$PC(shortname_old)$,$ShortName$}.First(Function(s) not String.IsNullOrWhiteSpace(s))
values("shortname") = shortname
Generating condition of process
Value = not String.IsNullOrWhiteSpace(CStr(values("shortname")))