Case number sequencing. Gaps in numbers

Version 1

    Details

    Is there a way to alter the number pull so it doesn't happen until after the object is saved?


    Resolution

    While you can configure the application to pull the IncidentNumber as a part of the save, there are OOTB processing such as push constraint, that pushes IncidentID as part of creating new task or journal.  You could look at adding an After-Save rule using the following logic: Initial testing showed this to work, but you need to make sure correct UAT testing as this is just proof of concept.   $(if IsNull(IncidentNumber)   then Number(ToString(GetNextCounter("IncidentNumberCounter")))   else Number(ToString(IncidentNumber)))