Symptom
After the Income Tax Declaration workflow is fully approved or declined the Approval Status is still showing as Pending in the Employee's Profile.
Environment
SAP SuccessFactors Employee Central
Reproducing the Issue
- Employee request's Income Tax Declaration;
- The workflow is triggered;
- The workflow is completely approved (or declined);
- The Approval Status still shows as Pending;
Cause
There is a Warning or Error message being triggered via rule before the workflow creation. Rules raising messages with Error or Warning severity before the workflow are not supported and will prevent the status of the request of being changed, despite of the action done on the workflow and even if the message is not shown on the screen.
You can use the Rule trace functionality (2257064) to determine which rule is raising the message.
This is a known limitation and there is already an enhancement request raised for this (ECT-88075). Currently, no planned date is fixed for this enhancement, but if it makes sense to you and you would like to increase this enhancement possibilities, please contact your account representative.
Resolution
If you want to prevent the request of being made, the rule needs to be under "Validate Rules" and with the purpose of "Evaluate". This rule, when satisfied, will throw the error before the request is saved and will not allow the request to be completed.
If you want a message to show but still allow the request of being done, set the message severity to "INFO". The employee will be able to submit the request, and the message will show after the request.
To correct requests already affected, the Income tax Declaration record needs to be deleted and re-initiated after the configuration adjustment.
See Also
2573270 - Income Tax Declaration: Workflows getting triggered before onSave rule execution
2573404 - Custom fields in Income Tax Declaration object
Keywords
Income Tax Declaration, Status, pending, Workflow, approved workflow, Approval Status, Error message, rule, warning, ECT-88075, , KBA , LOD-SF-EC-TAX , Income Tax Declaration , Problem
SAP Knowledge Base Article - Public