on 10-23-2013 12:42 PM
Hi @ All
I would like to ad a basic business role for new employees which are coming from HCM to trigger a workflow.
Tried it with:
Attribute Value
MXREF_MX_ROLE <Rolename>
it the pass. Did not work.
For technical roles this works fine with MXREF_MX_PRIVILEGE.
Is there an other way?
BR Gerhard
Hello Gerhard,
I think the problem is the role name. You called it NOTESWORKFLOW (first screenshot), yet in the pass you write ROLE:NOTESWORKFLOW. Could you either change the name of the role to ROLE:NOTESWORKFLOW or the value in the pass to NOTESWORKFLOW to see if it's working then?
Regards,
Steffi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steffi,
I have tried it that way, same result
putNextEntry failed storingtestuss
Exception from Add operation:com.sap.idm.ic.ToPassException: ToIDStore.addEntry failed storing entry 'testuss'. IDStore returned error message: " Referenced value does not exist:Attribute: MXREF_MX_ROLE" when storing attribute 'MXREF_MX_ROLE=<NOTESWORKFLOW>'
Exception from Modify operation:com.sap.idm.ic.ToPassException: ToIDStore.modEntry failed updating entry 'testuss'. IDStore returned error message: "Entry does not exist" when fetching entry
BR Gerhard
For me its seems like you are not using the corect identity store in your ToIdentityStore Path. As I can see in the screenshots it seems, that you have more then one identity store?!
Are the store in which you created the role and the one you selected in the ToIdentityStore Path the same?
If they are the same, have you tried it with:
MXREF_MX_ROLE = {A}11308
Hello Christoph,
the pass and the role are in the same ID Store.
But you're right, it has something to do with the ID Store.
My productive ID Store is SAP Master, ID Store Number 2.
"Enterprise People is Number 1.
In the Java Stack and in the Global constant "SAP_MASTER_IDS_ID" is use ID Store 2.
when I create a role in ID Store Enterprise people, the whole thing works!!!!
P.S. MXREF_MX_PRIVILEGE also does not work:-(
Hi Steffi,
it's really weird. When I create a role in "Enterprise People" (which is not my productive ID store) and try to assign it with the pass in my productive ID Store (SAP_MASTER) it works.
It looks like he does not recognize the roles in the SAP_MASTER ID Store.
Also Self-created attributes he does not recognize.
That should work Gerhard - Checking the role name is probably the first step. You can try with just the MSKEY rather than MSKEYVALUE but that sometimes doesn't work (there are a few times I've encountered issues).
As Steffi said, post a screenshot and we can have a closer look.
The {A} is optional so it should work without it...
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, thank you very much for your reply,
Here are my screenshots:
1. The Role name:
I have created the role in the MMC.
2. The pass
I put it in the "create identity pass" of the PF to test it. After that i put it in the "Write HCM Employee To SAP Master" of the HCM Staging Area to ad the role to the User.
I already tried it with {A}<ROLE:NOTESWORKFLOW>, same result.
2. The error message:
BR Gerhard
Definitely one of the issues is ROLE:... - the name in the role def is the whole name.
Try setting:
MSKEYVALUE %MSKEYVALUE%
MX_ENTRYTYPE MX_PERSON
MXREF_MX_ROLE 11308
I've sometimes found that it looses the plot on Entry Type - it should remove that line for you and reset the dropdown box value.
If it works with the MSKEY then you can move forward.
Peter
Hello Gerhard,
could you show a screenshot of the pass? Maybe there is just something small missing.
Did you add it like this?
MXREF_MX_ROLE {A}<ROLE:ROLENAME>
Regards,
Steffi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.