Skip to Content
0
Jun 16, 2010 at 08:47 AM

role owner approval

27 Views

Hi,

I have configured the role owner approval workflow, where the application takes approval from role ower everytime it add the role to users.I am facing following error message at the pass "preproceesig role owners".

Error: Running pass failed with unhandled exception

org.mozilla.javascript.EvaluatorException: Invalid JavaScript value of type com.sap.idm.ic.DSEEntry

warning: Executing SetDefaultApprover_RoleResponsible(MSKEYVALUE - {MX_APPROVERS=$FUNCTION.SetDefaultApprover_RoleResponsible(%MX_ATTRIBUTE_VALUE%)$$, MX_ENTRYTYPE=MX_PENDING_VALUE, MSKEYVALUE=%MSKEYVALUE%}) got RuntimeException - org.mozilla.javascript.EvaluatorException: Invalid JavaScript value of type com.sap.idm.ic.DSEEntry HINT: Check line 5 in the script SetDefaultApprover_RoleResponsible

I have the following script:

// Main function: SetDefaultApprover_RoleResponsible

function SetDefaultApprover_RoleResponsible(Par){

var role = Par;

var roleOwners = uIS_nGetValues(role, "MX_OWNER");

return roleOwners;

}

Please let me know any changes in the script, as the warning suggests to check line 5.