How to raise create role request in OIM 11gR2?
How can I let a user to raise a create role request in OIM 11gR2?
If I assigned the Role Viewer or Role Authorizer admin role to the user, the create button for role is disabled.
If I assign the user as Role Administrator, the role will be directly created without raising any request.
If I assign the user as SPML Admin, the create button is enabled, but after filling the form and clicking the "save" button, an exception will be thrown saying "IAM-3054100 : The logged-in user AA10127 does not have createRole permission on Role entity."
Hi,
i have changed identity page logo by using customize option, But in sysadmin page there no such option, is it possible to change image same as identity console.
Similar Messages
-
Request Key for Role Requests in OIM 11.1.1.5.0
Hi,
We are currently working on an enhancement in which after the role request is approved in the work flow process (SOA), need to be assigned to a group. A notification has to be sent to this group with the request details and the task needs to be assigned to them.This functionality is implemented using the process task and providing the group name in the assignment tab of the task.
The problem we are facing here is, we are not able to get the request key (of the role request) dynamically, which can be used in the adapter to get the request details/ role details.
We have implemented the same process while requesting for RO. i.e. after the RO request is approved in the SOA work flow it gets assigned to a group.
In that case we could get the request key by using the below sql query:
"select usr.USR_LOGIN,req.request_key,usr.usr_first_name,usr.usr_last_name from usr usr,request req,oiu oiu where req.request_key=oiu.request_key and req.requester_key=usr.usr_key and oiu.orc_key=" + processInstanceKey;
How ever for the role requests, we are not able to figure out the query / any other process using which we can get the request key dynamically that can be used in the process task adapter.
Please suggest the db query or any other method to get the request key for the role request.
Thanks in advance.
Shakti.Hi Kevin,
The complete steps that we are following are as below:
1. The requester raises a request for assigning role xyz to user abc by using request template. Once the SOA workflow is completed the user gets the role.
2. After the evaluate user policy scheduler is run and the record is inserted in to the child table, a task "ADD Role To User" is triggered,
3. Have created an adapter to set Response= "SUCCESS" and associated it with the task "ADD Role To User".
4. On Response= "SUCCESS" we are triggering two tasks. i. Assigning task to a team
ii. Sending notification to the team about the role request.
5. While writing the task for sending notification ,we have created an adapter. We need to get the request key(of step no 1) and role details to be displayed in this mail.
As you have mentioned, "There should be no process instance key for a Role Request because there is no object.", i am not able to figure out a way to get the request key
which i can use in the adapter to send notification.
Please suggest how can i get it and let me know if you need any other details.
Thanks in advance.
Shakti. -
Creating a Request via OIM 11g API
I'm trying to create a request in OIM using the API. I found this post ( OIM 11g - Setting Process Form Data through Request API ) which has the code to do it but I'm getting an error:
Here is what I have
OIMClient client = getOIMClient(url, username, password);
long resKey = 0L;
String str = null;
String resourceKey = null;
Map<String, String> searchMap = new HashMap<String, String>();
tcResultSet resultSet = null;
RequestData requestData = null;
Beneficiary beneficiary = null;
RequestBeneficiaryEntity entity = null;
List<Beneficiary> beneficiaryList = new ArrayList<Beneficiary>();
List<RequestBeneficiaryEntity> entityList = null;
List<RequestBeneficiaryEntityAttribute> entityAttrList = null;
String RESOURCE = "TESTRESOURCE_GTC";
tcITResourceInstanceOperationsIntf operations = client.getService(tcITResourceInstanceOperationsIntf.class);
Map<String, String> conditions = new HashMap<String, String>();
conditions.put("IT Resources.Name", "TESTRESOURCE_GTC");
resultSet = operations.findITResourceInstances(conditions);
resKey = resultSet.getLongValue("IT Resource.Key");
resourceKey = Long.toString(resKey);
RequestBeneficiaryEntityAttribute parantAttr = new RequestBeneficiaryEntityAttribute();
parantAttr.setType(TYPE.String);
parantAttr.setName("Title");
parantAttr.setValue("Mr.");
entityAttrList = new ArrayList<RequestBeneficiaryEntityAttribute>();
entityAttrList.add(parantAttr);
entity = new RequestBeneficiaryEntity();
entity.setEntityKey(resourceKey);
entity.setEntityType(RequestConstants.RESOURCE);
entity.setEntitySubType(RESOURCE);
entity.setEntityData(entityAttrList);
entityList = new ArrayList<RequestBeneficiaryEntity>();
entityList.add(entity);
System.out.println("*********** USR KEY" + usrKey);
beneficiary = new Beneficiary();
beneficiary.setBeneficiaryType(Beneficiary.USER_BENEFICIARY);
beneficiary.setBeneficiaryKey(usrKey);
beneficiary.setTargetEntities(entityList);
beneficiaryList.add(beneficiary);
requestData = new RequestData();
requestData.setRequestTemplateName("Self-Request Resource");
requestData.setJustification("Test");
requestData.setBeneficiaries(beneficiaryList);
UnauthenticatedRequestService reqsrvc = client.getService(UnauthenticatedRequestService.class);
str = reqsrvc.submitRequest(requestData);
System.out.println("Value from submitRequest : '" + (str != null ? str : null) + "'");I'm getting
<Feb 14, 2012 4:53:24 PM EST> <Error> <oracle.iam.request.impl> <IAM-2050128> <Invalid beneficiary key was specified for Self-Request. >
oracle.iam.request.exception.InvalidRequestDataException: IAM-2050128:Invalid beneficiary key was specified for Self-Request.
I can see that USER KEY is getting populated.
Edited by: DJ on Feb 14, 2012 4:59 PM
Edited by: DJ on Feb 14, 2012 5:00 PMWhile creating a request to provision iPlanet User one of the errors I was getting:
oracle.iam.request.exception.RequestServiceException: IAM-2050061:Type mismatch for the attribute Server. The type passed is String, but the corresponding type in the data set is Long.:Server:String:Long
So I replaced the value of the attribute Server to the IT Resource.Key which is 5. After making the changes, it goes through approvals with no problems, but when I approve all the work items, it errors out with an error:
Error occurred while provisioning resource with key 45 to user 5
User Key is 45 and Resource Key is 5. I'm not sure why it swapped it.
Here is the code I'm using:
public static void createRequest(String userLogin, String templateName, String resourceName, HashMap<String, Object> attrs, OIMClient client) {
try {
String usrKey = searchUserByLogin(userLogin, client).get(0).getId();
long resKey = 0L;
String str = null;
String resourceKey = null;
Map<String, String> searchMap = new HashMap<String, String>();
tcResultSet resultSet = null;
RequestData requestData = null;
Beneficiary beneficiary = null;
RequestBeneficiaryEntity entity = null;
List<Beneficiary> beneficiaryList = new ArrayList<Beneficiary>();
List<RequestBeneficiaryEntity> entityList = null;
List<RequestBeneficiaryEntityAttribute> entityAttrList = new ArrayList<RequestBeneficiaryEntityAttribute>();
tcITResourceInstanceOperationsIntf operations = client == null ? Platform.getService(tcITResourceInstanceOperationsIntf.class) : client.getService(tcITResourceInstanceOperationsIntf.class);
Map<String, String> conditions = new HashMap<String, String>();
conditions.put("IT Resources.Name", resourceName);
resultSet = operations.findITResourceInstances(conditions);
resKey = resultSet.getLongValue("IT Resource.Key");
resourceKey = Long.toString(resKey);
for (String attr : attrs.keySet()) {
RequestBeneficiaryEntityAttribute parantAttr = new RequestBeneficiaryEntityAttribute();
if (attrs.get(attr) instanceof String) {
parantAttr.setType(TYPE.String);
parantAttr.setName(attr);
parantAttr.setValue(String.valueOf(attrs.get(attr)));
entityAttrList.add(parantAttr);
} else if (attrs.get(attr) instanceof Long) {
parantAttr.setType(TYPE.Long);
parantAttr.setName(attr);
parantAttr.setValue(String.valueOf(attrs.get(attr)));
entityAttrList.add(parantAttr);
} else {
// do nothing
entity = new RequestBeneficiaryEntity();
entity.setEntityKey(resourceKey);
entity.setEntityType(RequestConstants.RESOURCE);
entity.setEntitySubType(resourceName);
entity.setEntityData(entityAttrList);
entityList = new ArrayList<RequestBeneficiaryEntity>();
entityList.add(entity);
beneficiary = new Beneficiary();
beneficiary.setBeneficiaryType(Beneficiary.USER_BENEFICIARY);
beneficiary.setBeneficiaryKey(usrKey);
beneficiary.setTargetEntities(entityList);
beneficiaryList.add(beneficiary);
requestData = new RequestData();
requestData.setRequestTemplateName(templateName);
requestData.setJustification("Test");
requestData.setBeneficiaries(beneficiaryList);
System.out.println("Resource Keys " + resKey + " " + resourceKey);
System.out.println("User Key " + usrKey);
RequestService reqsrvc = client == null ? Platform.getService(RequestService.class) : client.getService(RequestService.class);
str = reqsrvc.submitRequest(requestData);
System.out.println("Value from submitRequest : '" + (str != null ? str : null) + "'");
} catch (Throwable t) {
t.printStackTrace();
}Edited by: DJ on Feb 16, 2012 5:01 PM -
How to hide "Create Requisition Request" link in MSS
Hi All
How to hide "Create Requisition Request" link which is in Recruiting services in MSS?
Rgrds
SriHello,
Create Requisition Request is triggered by Home Page framework service MSS_HCM_RECRUITING_NEWREQ_REQUEST.
In order to deactivate it, in customizing:
SPRO-IMG:
Cross-Application Components
Homepage Framework
Services
Assign Services to Subareas
On the entry :
MSS_HCM_RC_REQREQUEST MSS_HCM_RECRUITING_REQ_STATUS_OV 20
You can set the position as blank, so it will not show up. You can also delete this entry.
Regards,
Bentow. -
Pre-populate Organization to the self registration request in OIM 11gR2 PS1
Hi All
I want to know if there is a way to pre-populate Organization to the self registration request in OIM 11gR2 PS1.
I am trying to configure auto approval and for that I need to add org to the request.
ThanksHi,
you can look into the following post : https://forums.oracle.com/message/10830661
Thanks -
How to Customize sysadmin page logo in OIM 11gR2
Hi,
How to Customize sysadmin page logo in OIM 11gR2, i have customized identity page logo successfully.
can anyone help me.
Thanks and Regards,Hi,
i have changed identity page logo by using customize option, But in sysadmin page there no such option, is it possible to change image same as identity console. -
How to re-create transport request
I have a program which map to another request. But actually is a seperate request, once i delete the object and modify the program again, which map to the request again, without ask for me to create a new request, how can i create a new request for this modification. Thanks
Hello,
The problem is arising because even though we feel all objects have been removed..it is not the real case(may be documentation,text elements..etc will be there)..for this ....pls check the objects in the task by double clicking on it..it will take us to the object...double confirm that the object is no way related to the program we are using now.....even after confirming doing the above procedure if a new request is being asked for..pls check the following options
There are two ways to go on with this,
First option:
Delete objects from the request..and release the task...but dont release the request
so next time you save it will ask if a new task needs to be added..wherein we can divert to the creation of a new object
second option
As suggested..pls delete the objects and change the owner of the task which does not concern you...then again request will be prompted for
Pls check and revert..reward if helpful
Regards
Byju -
How to use Create input request Activity
Hi,
I want to get inputs from the users .
I want to display a form were user can select a input from drop down list.
That selected item i want to store it in a variable and use across the flow.
How to do that using create input request or is there any other way to do that.You should be using "Input Request" to do what you are trying to do.
Add "Create Input Request" to your workflow
Configure the question you want the user to see in the Web Console. For example, "Select make of your dream car"
Add "questions" to your input request. For the "drop-down" selection, chose to add new question of type "Select". This will bring up the dialog box that will allow you to configure the unique ID for your question, the free form text (label) and the list of selection choices to show in the drop-down.
In the activities that follow "Create Input Request" you can retrieve the actual values that the user chose/typed by looking at the values in the [Workflow.Create Input Request.Task.Questions] table property. It has several columns: Id, Question, Value (that correspond to the fields you've configured)
If you have Input request with several questions, you can use Select from Table activity to choose the specified question (by ID) that you want the value for. If you have only one question in the input request, you can get to the value (entered by the end user) by referencing this property [Workflow.Create Input Request.Task.Questions.First Row.Value] -
How do we create role maintenance
hi gurus
How do we create user role maintenance could any one give me step by step procedure. It will be helpful for me
Thanks in advanceHello,
The roles for the users normally created by BASIS by transaction PFCG. If you want ore details about the stepwise procedure, please post the thread in the BASIS forum.
Prase -
FM "open form ; how to craete create SPOOL REQUEST
Hi.
I have a Z program n layout . We have used a FM "open form."
But when I run, i dont get spool
In this case I want to create SPOOL REQUEST whenever I run program.Can anyone
suggest what fields I need to mark in ITCPO and NAST or more than these.Hi,
Check this link :
http://www.thespot4sap.com/articles/SAPscript_example_code.asp
Regards
Appana -
can anyone help me?
Hi Anand,
There are 2 ways for transporting LSMW data from a system to another.
1) Export/import this method gives you the opportunity to select the subprojects or objects you want to transfer. Hence you don't transfer the object a colleague might have created and that should stay in development system. LSMW -> Extras -> Export project
2)Transport request with this method, you can transport a LSMW project in full (you cannot select the objects you want). With this method, the project will be transported as any other SAP object in a transport order.
LSMW -> Extras -> Create change request
For more information, refer below link Steps to copy LSMW from one client to another
Thanks
KH -
I want to create role through Procedure /script and then assign it to perticular user.
Is it possible thru any API??
Let me know along with example
Thanks in advanceYogesh,
Do you mean you are trying to create a Oracle9iAS Portal group, you may want to look at the PL/SQL API Reference within the Portal Development Kit on OTN.
http://technet.oracle.com/product/iportal/files/pdk/index.html
Take a look at the following PL/SQL API packages:
wwsec_api package
wwsec_app_priv package
We try to provide most of our answers to your questions within the PDK. So, if you search the PDK first and don't find what you are looking for, then use the forum. We use the discussion forum to expand and improve future releases of the PDK.
If you mean you want to create a database role, not a Portal Group, through a procedure/script? Then, this is just standard database procedures and not specific to portal. We would have no portal APIs for that. You would need to take a look at the DBMS_SQL package that comes with the database and you can also get more information from the Oracle Server (RDBMS) team.
Thanks,
Sue -
How can I create Service Request ?
Hi,
I registered oracle account in order to create a service request. And the Customer User Administrator responsived 'Approved'.
But now I can't see 'Create SR' button. I'm just able to access SR List.
How can I access 'Create SR' button ? Help me !Make sure that in your role (step 2) is checked "Can Create" for Service Request.
-
I created an app instance and attached a form with that. While raising a request through catalog i am able to see the form and enter values in it and submit the request. But while submitting the request if i attach 2 target users, the form disappears in the catalog. So what is the issue and am i missing something while developing the form??
Edited by: 955932 on Feb 17, 2013 2:40 AM
Edited by: 955932 on Feb 17, 2013 9:21 PMwhile developing form you have to mark use for Bulk option for the form attributes. Hope you have done that. else update your form. or just refresh(F5) once you are on catalog page.
-
Raising Request using OIM ApI's in oim 11g R2
Hi all
I trying to raise a request using OIM API in R2. I have written a sample code and it is throwing me the below error....
Exception in thread "main" java.lang.NullPointerException
* at oracle.iam.ui.custom.updateuser.<init>(updateuser.java:76)*
* at oracle.iam.ui.custom.updateuser.main(updateuser.java:118)*
Please take a look at my code....
RequestEntityAttribute rea = null;
rea.setName("Modify User Profile");//This is the place where i am getting the error...
System.out.println("I am Here3");
rea.setAction(RequestEntityAttribute.ACTION.Modify);
List<RequestEntityAttribute> lrea = new ArrayList<RequestEntityAttribute>();
lrea.add(rea);
RequestEntity re = null;
re.setEntityData(lrea);
List<RequestEntity> reqentity = new ArrayList<RequestEntity>();
reqentity.add(re);
RequestData requestData = null;
requestData.setJustification("I need this Role");
requestData.setTargetEntities(reqentity);
String str = null;
try {
str = _service.submitRequest(requestData);
} catch (InvalidRequestException e) {
} catch (InvalidRequestDataException e) {
} catch (RequestServiceException e) {
} catch (BulkBeneficiariesAddException e) {
} catch (BulkEntitiesAddException e) {
Thanks in Advancelook at below link
Creating a Request via OIM 11g API
http://www.pathmaker-group.com/querying-oracle-iam-requests/
Maybe you are looking for
-
Question about how ExifMeta handles multivalued tags
Hi, I have tested the ExifMeta (Great work, just what I needed!) to read face recognition data written by Picasa to RegionName, RegionType etc. fields in jpg metadata. Everything seems to work fine if there is only one name in the field but Picasa wr
-
Printing a PDF tabloid to Brother MFC6490CW
I can't get a pdf to print a complete tabloid sheet. If I have multiples, I can't get past the first page. I can get a print from my AutoCad LT2007 print driver, but many of the tabloid prints I need to make are PDF. Brother said to check with Adobe
-
hi experts In our development and quality systems,we have very old data like from 2007.so I started loading little recent data like 2009,2010. Do we need to conduct data validation tests here also as we do in Production systems....as this data is ju
-
How can I clear given keywords to objects in captivate 7?
Hi, I'm wondering if it's possible to clear keywords I have given to objects in Captivate 7? When I work on slides in Cp7, I have a naming convention that I use in relation to the slide I'm working on. For some reason it won't let me use the same nam
-
I need the link to re-download photoshop cs5 extended
I need the link to re-download photoshop cs5 extended