Repository - Reset IDs while clear group data

Hi,

how can I reset the ID in the Workflow repository?

In one process Im storing records in the repository and clear the group after finishing a second process. The next time process 1 is running I´m storing records again in the repository but the stored records dont start with ID 1.

I want to reset the ID while clear the group in process 2.

Regards,
Thomas

I’ve found a solution:

Instead of clearing the group data (repoObject.ClearGroupData(GroupName: string)??) I remove the whole group (repoObject.RemoveGroup(GroupName: string)).
In the “Push to Repository” Plugin I check the option “Create Group and Key(s) if they don’t exist”.