SAP Knowledge Base Article - Public

3263435 - Application Error on Delegate Workflows

Symptom

When trying to delegate workflows in Latest Home Page, an application error is thrown with the following message:

"internalMessage=Error saving delegation config
errorMessage=Service https://performancemanager4.successfactors.com/odatav4/workforce/workflow/Delegation.svc/v1/AutoDelegation gave 400
status=400
piid=6b462101-f826-4da0-ab24-4adba5ee0da2
timestamp=2022-10-27T20:39:01.471Z
externalCode=COMDF_GENERAL_ERROR
externalMessage=Operation failed because of errors.
externalDetailMessage=No permission to create object!"

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

Reproducing the Issue

  1. On Latest Home Page, click on the "Delegate Workflows" card;



  2. Fill in the required information;



  3. Hit "Save" and see the error display.

Cause

"AutoDelegateConfig" Object is set to "Secured: Yes" in Configure Object Definitions.

Sample scenario:

Resolution

As per the Permissions for Automatic Delegation Implementation Guide:

  • The default value for Secured is "No". If you choose to set it to "Yes", make sure you also choose MDF Foundation Objects in Permission Category and enter delegator in RBP Subject User Field before saving the object definition. After that, you need to define the Auto Delegate Config and Auto Delegate Details permissions (under MDF Foundation Objects) as illustrated by the following example:

    The Auto Delegate Config permission is defined by selecting “View” and “Edit”. The Auto Delegate Details permission is defined by selecting “View”, “Correct”, “Create”, “Adjust Order”, and “Delete”.
    Define Permissions
    Finally, grant the permissions to one delegation role, in addition to the permission that role already has (as described earlier):

    • To delegatee, in case of the legacy home page. Ensure that the delegatee is included in the Permission Groups or Users column and the delegator is in Target Population.

    • To delegator, in case of the latest home page. Ensure that the delegator is in Target Population and the option Exclude granted users from having the permission access to themselves in the Grant this role to dialog is not selected.

 

See Also

3377609 - Application Error When Delegating Workflow - SAP for Me

Keywords

No permission to create object!, internalMessage=Error saving delegation config
errorMessage=Service https://performancemanager4.successfactors.com/odatav4/workforce/workflow/Delegation.svc/v1/AutoDelegation gave 400
status=400
piid=6b462101-f826-4da0-ab24-4adba5ee0da2
timestamp=2022-10-27T20:39:01.471Z
externalCode=COMDF_GENERAL_ERROR
externalMessage=Operation failed because of errors.
externalDetailMessage=No permission to create object!, Operation failed because of errors., externalDetailMessage=No permission to create object!, externalMessage=Operation failed because of errors., externalCode=COMDF_GENERAL_ERROR, errorMessage=Service https://performancemanager4.successfactors.com/odatav4/workforce/workflow/Delegation.svc/v1/AutoDelegation gave 400
status=400, No permission to create object!, internalMessage=Error saving delegation config, Delegate Workflow, Application Error, Error, Issue, Problem, Trouble, Cannot Save, Cannot Submit, Latest Home Page, Delegate Workflows Card, Tile , KBA , LOD-SF-EC-WFL-DEL , Workflow Delegation , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , LOD-SF-PLT-LHOM , Latest Home Page , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM suite all versions