Symptom
Unable to approve a Position related workflow due to application error, caused by swapping of the position matrix relationships maintained in the position.
*Image/data in this KBA is from SAP Internal Systems, sample data, or Demo Systems. Any resemblance to real data is purely coincidental.*
Environment
SAP SuccessFactors Employee Central: Position Management
Reproducing the Issue
- Navigate to the Job information of an employee > Change the Position > Save.
- Workflow triggers
- Proxy as the approver > approve the workflow > Application error occurs.
Cause
- Issue is caused due to the matrix relationships in the Position are swapped using the arrow marks which results in swapping of the external codes of one matrix relationship to another.
- This is not a supported use case as the external code is a key field and must not be swapped.
Resolution
- Withdraw the current workflow.
- Go to the relevant Position and modify the external codes of the matrix relationships by either deleting or changing it, instead of swapping it.
- Save
Keywords
Application error, workflow, external code, swapping, INC3309059, INC3318615, position matrix relationships, fingerprint=29c93d60456dc1f31aa633fd929bd975180fc39d, found multiple internal codes, NonUniqueResultException: Finding internalCode for objectType: PositionMatrixRelationship externalCode. , KBA , LOD-SF-EC-POS-WFL , Position Workflows , LOD-SF-EC-POS , Position Management , LOD-SF-EC , Employee Central , Problem
SAP Knowledge Base Article - Public