SAP Knowledge Base Article - Public

2549578 - Position ID are being skipped when creating a new position


You have configured a business rule as onSave on the object position to determine the ID of the position.


And you have noticed that when you create and approve the workflow, the ID is skipping one, for example, you would expect the ID to be 3 but it is being defined as 4 instead.


  • You have onSave rules set up;
  • Your changes are approved with a workflow;
  • Your rule to determine ID and the rule to determine the workflow are both as save rule

Reproducing the Issue

  1. Go to manage position;
  2. Fill all mandatory data to create the position;
  3. Submit and approve the workflow;
  4. See that the ID generated skipped one position


The workflow business rule is defined in the wrong session of the object definition.

Since the workflow is set by on save rule, when the workflow confirm dialog is displayed, all save rules have been executed for once.

After user confirms the workflow and saves it, all save rules are executed again with workflow confirmed flag which causes the ID to be skipped.


To avoid this behavior, please set the rule for binding workflow as validation rule.



XAF-19260; Workflow no trigger rules; Business rules not working after Q3; , KBA , LOD-SF-EC , Employee Central , Problem


SAP SuccessFactors Employee Central all versions