OM11g: Dynamic notifications on different user objects.

Hello
On the User object, I have 3 custom attributes. These attributes are of type "Checkbox". I'd like to notify an administrator when any one of these attributes change value.
For example:
Attribute1: Head Office Access
Attribute2: Remote Office Access
Attribute3: Foreign Office Access
I have implemented a postprocess event handler on the "USER" object, for changetype "MODIFY".
My orchestration event has the details of the attribute that changed, and I can tell if it's been checked, or unchecked, based on the value that is passed to my postprocess handler.
My question though, is how do I call my notifier with this attribute, so i can have one notification template called "Physical Access Changed", and have the system differentiate between head office, remote office, and foreign office.
Do I need 3 different notification templates? Can I do it with one? If so, how can I pass information from the postprocess handler, to the notification handler, to the resolver, and ultimately to the template?
My current approach has a notification template for each access, and a the same message in each of them. My post process handler then determines based on the orchestration event which attribute was changed, and then calls the NotificationEvent with the appropriate template name. However, I'd like to collapse it to one NotificationEvent, and pass the orchestration attribute to it...
Any ideas?
Thank you.

Thank you.
I have a resolver class that implements NotificationEventResolver
public class AccessNotificationResolver implements NotificationEventResolver {
@Override
public HashMap<String, Object> getReplacedData(String eventType, Map<String, Object> map) {
String userLogin = (String) map.get("user_login");
// find the user
// iterate the attributes
return resolvedNotificationData;
This works, and lets me return any of the X2-Entity attributes that are listed in the Notification plugin. But, it does not allow me to return arbitrary data. For example, the checkboxes that are check or not checked for physical site access, in the notification show up as 1 or 0. So when someone gets added to the Head Office location my email reads:
This is to inform you that $First_Name $Last_Name has had their access modified for the following location: Head Office: 1
I would prefer that it say:
This is to inform you that $First_Name $Last_Name has had their access modified for the following location: Head Office: Added
I, however, don't seem to have a way to say "Added" and pass that up to the Notification template. Or am I missing something?
Thank you.

Similar Messages

  • How to send notifications to different user groups based on payload value

    Hi Gurus,
    I have a scenario in BPM where i have to send notifications to different user groups based on the payload value.
    ex:
    Payload sample:
    <employees>
    <emp1>
    <state>TX</state>
    </emp1>
    <emp2>
    <state>AZ</state>
    </emp2>
    </employees>
    Requirement: I have to send notification through Humantask to users of TX and AZ as mentioned in payload.
    Can you please help me out in achieving this in BPM?
    Thanks,
    Raju
    Edited by: user0808 on Mar 1, 2013 12:58 PM
    Edited by: user080811 on Mar 4, 2013 11:06 AM
    Edited by: user080811 on Mar 4, 2013 11:07 AM

    Hi Daniel,
    thanks a lot for your quick response.
    I went through your blog and tried implementing the same.
    But in my case i have to send parallel notifications to both the states.
    Please correct me if i am wrong, using if conditions in rules is allowing me to send to only one state.
    I also tried the following approach
    1) setting the organization units in bpm workspace
    2) passing values using human task parametric roles
    3) and looping the subprocess that has the humantask for the count of states.
    I am able to loop the subprocess but i am not able to change the parametric role value for the next iteration of the subprocess.
    Can you please help me in resolving this?
    thanks,
    Raju

  • Linking PM Notification to different SAP Objects from different SAP Components

    Hi All,
    I have a requirement to link notification to three follow on actions namely:
    1.     Work order creation (IW31?)
    2.     PPM to create project
    3.     Change request to review document (CC31?)
    These activities are actions required from Root Cause Analysis. RCA is being done by an external system. An interface is to be used to create a notification in SAP PM. The notification is to be configured with an Action Box containing these three activities as follow on actions.
    Is this possible to achieve? And if so, what FM can be used for each of the three SAP Objects?
    Will there be a link between the three created objects and the Notification?
    Will it be possible to update the Notification with the statuses of any one of these three objects automatically?
    Your response would be very much appreciated.
    Kash

    Kash
    Not sure this helps, but we managed to link a notification to multiple objects using a development in Services for Object.
    You were then able to see these links as follows:
    Useful info
    Useful info 2
    I used function module BINARY_RELATION_CREATE_COMMIT with the following:
    OBJ_ROLEA-OBJKEY = full notification number
    OBJ_ROLEA-OBJTYPE = BUS2038 (for notification)
    OBJ_ROLEB-OBJKEY = full plan number
    OBJ_ROLEB-OBJTYPE = BUS1020 (for maintenance plan)
    RELATIONTYPE = ASGN
    PeteA

  • Send dyanmic notification to different users

    Hi all,
    Can we dyanmically attach attribute(of any type) to a message through pl/sql coding?
    Thanks

    Hi,
    Yes - you need to use a PLSQL or PLSQLCLOB document API to build the notification rather than just using one attribute.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Dynamic region column for different user?

    Hi experts,
    I am developing a system for users with different privileges level corresponding to regions(state, city, country).
    National users could access states data within the nation, state users could access cities data within the
    state and so on for city users.
    I have a region hierarchies(state, city, country) and I was wondering if it can work:
    when  national users log on, they will see table like this: region column (hierarchies)+ data column
    state
    data
    For state users:
    city
    data
    Besides developing three separate tables for these type of user, how can I achieve this  with one table? Can the region column change dynamically corresponding to different users and also the column have drill down function ?
    Hope I make my question clear, any suggestion will be appreciated  . If this question had been asked, sorry about that and pls send me the link.
    regards,
    Jeff

    HI,
    You can done this by using "Data Level Security" and "Object Level Security".
    Step 1:
    Create the hierarchy as level1 Contains state and level 2 contains city.
    step:2
    Drag to presentation and right click on the hierarchy of level1 (State)
    Step3: Go to Permissions get the online user go to the particular user and give access to read for the state user and no access for city user.
    Step4: Right click on the level2 (City) and go to permission and set the user access to read for city user and no access for state user.
    Check inconsistency and save the RPD.
    Check in the report side.
    For more Ref:http://mkashu.blogspot.com
    Regards,
    VG

  • OIM 9102: Send Email Notification to other user in a task

    I created a process in OIM. In this process exist a Task: Manager Process. When this task will be completed for the user that be assigned. In the Notification Tab are able to send a email notification to a Assign User, Requester User, User or User Manager. But i need to send a email notification a other user different to them, for example: juan.perez, this user is in OIM.
    I have read the following documents:
    1.- http://docs.oracle.com/cd/E10391_01/doc.910/e10363/promgt.htm#BCECFGEJ
    2 .- How to Send an Email Notification Upon User Creation via the Admin Console [ID 780394.1]
    3.- OIM: An Example of Email Notification and Configuring it With a Resource Object Provisioning [ID 457836.1]
    4.- Sending an Approval Notification Email with a Link Directly to the Approval Request? [ID 748447.1]
    Or exist some way to do this, through java code.
    I'm using oim 9.1.0.2 BP18 running on OC4J 10.1.3.5 on AIX 6.1 64-bit clustered install with two nodes, Oracle Database 10.2.0.4 on AIX 6.1 64-bit on RAC.

    Hi
    You can use OIM email API to send an email from the java code. You can attach code on post creation user using entity adapter. Every time a user is created the email is triggered.
    Here is the sample:
    public EmailUtility(tcDataProvider dataProvider) {
              this.dataProvider = dataProvider;
              emailOper = new tcEmailNotificationUtil(dataProvider);
              System.out.println("Email API instantiated successfully...");
         public String sendEmail(String fromAddress, String toAddress, String body,
                   String subject) {
              emailOper.setBody(body);
              emailOper.setFromAddress(fromAddress);
              emailOper.setSubject(subject);
              emailOper.sendEmail(toAddress);
              System.out.println("Email sent!" + subject);
              return SUCCESS;
    Regards
    user12841694

  • Assigning different authorizations inside a role to different users

    Hello,
    Could someone please guide me to how can we assign different authorizations (authorizations field values) for an authorization object inside a role to different users; i.e. in the role maintenance transaction (pfcg) after we create a new role and add an authorization object to it, if this authorization object has several authorizations (authorization field values), and if I need to add two users to that role, how can I assign to one user an authorization different from that assigned to the other user ?
    Thank you in advance.
    Best regards.
    Reda Khalifa
    IT Department - Almansour Automotive Group - Egypt

    Hi Reda,
    That documentation complicates the subject slightly as it is talking about principles that are at a lower level than the usual role level.
    We have 1 authorisation object - S_TRVL_BKS
    Authorisations have been created for this object, called S_TRVL_CUS1 and S_TRVL_CUS2
    In this context, an authorisation is an instance of an authorisation object that has been populated with data.
    Before the profile generator you used to create authorisations (auth objects populated with data) and assign them to profiles which are then assigned to users.
    In this example 2 profiles would be needed
    Profile1: S_TRVL_CUS1 and S_TRVL_CUS2
    Profile2: S_TRVL_CUS2
    Miller would be assigned profile1, Meyers would be assigned profile2
    The profile generator allows us to easily build authorisations and profiles and packages them up in a role.  This way, we can assign transactions and authorisation objects into a role, populate the authorisations (which is what we do in the authorisations tab in the role) and automatically create the profile.
    The example in the documentation is still valid because it requires 2 seperate authorisations (and therefore profiles and roles) to be assigned to different people.  Unfortunately this is not explained very well in the documentation.
    I hope that makes sense, roles are static and the permissions that they give do not vary dynamically.   In BW we can use variables to do something similar and to some extent structural authorisations in HR work dynamically however this doesn't apply to R/3 or ECC.  (it can be done in come cases but costs many, many £££/$$$'s)
    Please let me know if you want me to elaborate further on this
    Cheers
    Alex

  • Calculation Field to be mapped to different data object's column name in Oracle BAM 12c

    Hi,
    I am having a challenge to enable drill down to 2nd level report by passing calculation field as parameter.
    As an alternative, I am thinking to point calculation field to another data object’s column name and generate report so that I would be able to pass that as parameter to drilling report view.
    Is there any way to map calculation field to different Data object’s column name? Thanks in advance.
    Regards
    Amik Basu

    1. Yes, you can.
    SQL> create table ÜÝÞ( ßàá number(10));
    Table created.
    SQL> insert into ÜÝÞ values (10);
    1 row created.1.1 and 1.2 and 2. You can choose UTF as your default character set. It allows the user of non-English characters in VARCHAR columns in your whole database. It is not per tablespace.
    SQL> create table ÜÝÞ( ßàá varchar2(100));
    Table created.
    SQL> insert into ÜÝÞ values ('âãäçìé');
    1 row created.

  • Broad casting Webi report in excel format to different users email ids

    Hello,
    Seriously looking for the help, please help with the solution for below scenario.
    We have a requirement to schedule broadcasting of Webi reports to users email in excel format from infoview. But our concern is how the system takes care of authorizations of users when we broadcast the report to their mail id as excel file.
    For example we have one webi report for Finance and there are thousands of users for each department, cost centre etcu2026so how to broadcast the same webi report in excel to different users with only data they have authorized to see. We have committed to client that we can do this with out much massive overhead, please advise what is the easiest way to achieve this. I read something like this can be done using authorization profiles in CMS but creating those many profiles and mapping them to relevant authorizations is not possible as there are thousands of users with different authorization levels. And Client is expecting this broadcasting need to be done automatically with out every time manual intervention. 
    Looking forward for the prompt reply.
    Thanks,
    Gani.

    Please use the Dynmanic Recipients functionality of the Publication.
    For this we need to do follow steps.
    1) Create the WebI Report that needs to be published(Broadcasted)
    2) create Deski/webi report which contains the user details and email id's for publishing main report.
    3) Map the properties of souce report with Dynamic Recipient report.
    Please refer the user guide for more inforamtion.This helps you in avoiding manual creation of profiles in CMC.
    Regards,
    Siva
    Edited by: Nallamala siva on Jun 13, 2011 8:17 AM

  • How to send Email Notifications to OID users?

    Hi All,
    I have a requirement where I need to send an email notification from the BPEL process. The Email notification has to be sent to a used who invoked the process the userName is provided in the initiation parameters. But I need to fetch the email id for the give userName from the OID which is integrated with the BPEL Process Manager.
    Is there any way I can fetch the email addresses from the OID in BPEL ?
    Thank you.

    Hi Folks, Finally I found the answer... If the APP server is integrated with the OID(Identity Management is set to Oracle Internet Directory and configured properly) the function ora:getUserProperty(bpws:getVariableData('myUser'),'mail') should return the mail property of the user object in OID.
    If your Identity Management is set to the File-Based system then it will get the user properties from the $ORACLE_HOME/bpel/system/services/config/user_properties.xml.

  • How do I get the value of a resource property stored in the user object?

    I need a way to get to the myflag property on the resources in an object
    I have been trying to get to it by first getting the user object...
    but how can I get to the properties them self?
    If the following is the user object and I need to refer to the different myflag properties in a form?
    What I want to do is to make the system NOT change password on accounts where the myflag is set to true
    Anyone that could point me right here?
    I use the following code to get the userObj in the form...
          <Field name='userObj'>
            <Derivation>
              <invoke name='getObject'>
                <ref>:display.session</ref>
                <s>User</s>
                <ref>resourceAccounts.id</ref>
              </invoke>
            </Derivation>
            <Disable>
              <isnull>
                <ref>resourceAccounts.id</ref>
              </isnull>
            </Disable>
          </Field>And the resulting userObj looks like this
    <!--  MemberObjectGroups="#ID#Top" hasCapabilities="true" id="#ID#BAF7-:882E9B73531:87D587F7-:726EA99B2E0A89CD" name="43725"-->
    <User id='#ID#BAF7-:882E9B73531:87D587F7-:726EA99B2E0A89CD' name='43725' creator='Nnnnn' createDate='1328101309098' lastModifier='Nnnnn' lastModDate='1352128262380' lastMod='71' repoMod='1352128262383' primaryObjectClass='User' password='xxx' lastPasswordUpdate='1352128195038'>
      <Services>
        <ObjectRef type='Resource' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FE1' name='Xolid'/>
      </Services>
      <PasswordExpiration>2012-11-04T15:09:55.038Z</PasswordExpiration>
      <ResourceInfoList>
        <ResourceInfo accountId='cn=S43725,ou=Xolid Users,ou=User Accounts,dc=adxx,dc=xxx,dc=net' accountGUID='&lt;GUID=3c020b6e1c253d45808fc47889201c4a&gt;' tempId='dc98a0e2b99ae627:-3984a159:139b34ea14f:-4c10' created='true' lastPasswordUpdate='1352128262115'>
          <ObjectRef type='Resource' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FE1' name='Xolid'/>
          <ResourcePropertyValues>
            <Map>
              <MapEntry key='myflag' value='false'/>
            </Map>
          </ResourcePropertyValues>
        </ResourceInfo>
        <ResourceInfo accountId='cn=S43725A,ou=Administrative Users,ou=User Accounts,dc=adxx,dc=xxx,dc=net' accountGUID='&lt;GUID=fc4ca613bf40b644948cf216e1ec50bd&gt;' tempId='dc98a0e2b99ae627:-4ce08fd6:13a5c68dd38:4fc4' created='true' lastPasswordUpdate='1352128262285'>
          <ObjectRef type='Resource' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FE1' name='Xolid'/>
          <ResourcePropertyValues>
            <Map>
              <MapEntry key='myflag' value='true'/>
            </Map>
          </ResourcePropertyValues>
        </ResourceInfo>
      </ResourceInfoList>
      <Attribute name='closest_manager' type='string' value='77774'/>
      <Attribute name='firstname' type='string' value='Test'/>
      <Attribute name='fullname' type='string' value='Testersson, Test'/>
      <Attribute name='xr_attr_flag' type='string' value='N -------- MA20120201 MB20120201 MC20120201 MD20120201 ME20120201 MF20120201 MG20120201 MH20120201 MI20120201 MJ20120201 MK20120201'/>
      <Attribute name='xr_date_flag' type='string' value='N 20120914 MS20120201 MT20120914'/>
      <Attribute name='lastname' type='string' value='Testersson'/>
      <Attribute name='local_id' type='string' value='S43725'/>
      <Attribute name='position_end_date' type='string' value='2012-08-10 01:08:18.0'/>
      <AdminRoles>
        <ObjectRef type='AdminRole' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FF7' name='XXX - Manager'/>
      </AdminRoles>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
      </MemberObjectGroups>
      <Properties>
        <Property name='AD_HomeDir_Xolid_S43725' value='\\XXX5014A\UserFolders$\S43725'/>
        <Property name='AD_ProfileDir_Xolid_S43725' value='\\XXX5014A\UserProfiles$\S43725'/>
        <Property name='idm_lastLoginLocale' value='sv'/>
        <Property name='myflag' value='false'/>
      </Properties>
    </User>

    Thanks Praveen.
    I was missing the default namespace of "http://sapportals.com/xmlns/cm" - I thought I could just pass an empty string for the namespace, but it looks like I must always specifiy, even if it is default.
    Tom

  • Email notification to specific user when processing multiple files at a time

    Hi 
    I am new to SSIS and error mail notification ,can some please provide details for my urgent and prioritized task in my project.
    below is the requirement
    I have a package for multiple file processing using for each file enumerator .each file having same column definition but for different
    users and different name .
    i have some mandatory fields to form unique id on combination
    1.when files processing any data missed on mandatory fields it should alert users saying following line and fields are missing mandatory
    information 
    2.email notification should send to respective users based on file name.
    example :
    file1:bitunimous.xls 
    file 2.oxford.xls
    each file having following fields
    file 1:bitunimous.xls
    claim no: claimant: subclaim:
    1001 abc 0 
    1002 abc 1 
    1002 abe 0 
    1004 0
    here bitunimous.xls missed claimant value for 4th line then email needs to send to [email protected] as
    line no 4 missed claimant information for unique key generation like that.
    file 2.oxford.xls
    claim no: claimant: subclaim:
    2001 det 0 
    2002 pre 1 
    pqr 0 
    2004 frc
    here oxford.xls missed claimno value for 3rd line then email needs to send to [email protected] as
    line no 3 missed claimno information for unique key generation like that.
    can anybody please provide solution 
    Thanks .
    Ambed

    You need to have a package with below work flow
    1. ForEachLoop container with file enumerator to loop through files
     Have variable inside loop to get the filename during each iteration. Create another variable called emailaddress, set EvaluateAsExpression property to true and set expression as
    REPLACE(@[User::FileName],".xls","") + (DT_STR,20,1252) "@xyx.com"
    2. Add tasks for validating data. Capture details of error on a string variable @[User::Error]
    3. link a sent mail task to previous task and choose expression and constraint option. Set Constraint as On Completion and Expression as LEN(@Error) > 0
    Inside Sent mail task set expression for ToLine and MessageSource properties to map to variables @[User::EmailAddress] and @{User::Error] respectively to sent notifications
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Request: compare and propagate user objects

    After making changes to table definitions, views, program units, and so on, it may be useful to propagate these changes to another database user. This maybe another development environment, or a testing environment in same or another database. Like "Compare user objects" option in PLSQL/Developer.
    /* BEGIN: cut and paste from PLSQL Developer Help */
    Compare User Objects
    After making changes to table definitions, views, program units, and so on, it may be useful to propagate these changes to another database user. This maybe another development environment, or a testing environment. To compare the objects of your development user with another user, you can use the Compare User Objects function in the Tools menu. This will bring up the following dialog:
    On the Selection tab page you can select the objects you wish to compare. After making this selection, you can press the Target Session button, to select the user and database that you want to compare. This will enable the Compare button, which you can press to start the compare operation. You can select the Include storage... option to include the storage information such as tablespace names and initial sizes for new objects. These may differ across databases, so this may not always be appropriate.
    When the compare operation is finished, the dialog will switch to the Differences tab page, which will show a list of all objects that are different:
    This list is sorted in order of dependency. Below the list of different objects of the target user, you see the SQL that needs to be executed to make these objects equal to the corresponding objects of the current user. If no object is selected, the SQL of all objects is displayed. If one or more objects are selected, only the SQL for the selected object(s) is displayed. In the example above, a missing EMP_MGR_EMPNO check constraint was added to the EMP table.
    The Show Differences button will show a visual line-by-line difference of the old and new source file of an object. This can be useful to view the changes made in Program Units, or can help you determine why a specific DDL statement was generated for other object types. The Configure External Difference Tool allows you to configure the difference tool should be used. By default the ExamDiff utility will be used, for which a Pro version is available (See the About item of ExamDiff’s Info menu). See also Tools - Differences.
    You can now press the Apply SQL button to execute this SQL in the target session. You can alternatively save the SQL in a file by pressing the Save SQL button, or you can copy it to the clipboard by pressing the Copy SQL button.
    When objects are compared, the following properties are ignored:
    ·     Storage – Properties such as the next extent and pct free of tables and indexes are not considered relevant for comparison.
    ·     Constraints with system generated names – These constraints will have different names for the 2 users, so they cannot be compared. If a table is new in the target session, these constraints will be generated though.
    ·     Table creation properties – Properties that would require the recreation of the table are ignored.
    ·     Table data – To export table data, use the Export Table function (see Export Tables).
    ·     Sequence values – The current value of a sequence is considered data.
    /* END: cut and paste from PLSQL Developer Help */

    This is on the list but not for 1.0.
    -kris

  • Unable to delete User object in FIM Portal - Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition"

    Hi,
    ***Problem
    I encounter a problem with FIM (version 4.1.3441.0 and 4.1.3496.0) when I try to delete a User object (and only a User object) whatever if it is
    manually/Expiration Workflow/Powershell.
    Deleting a User object used to be perfectly functional and, without any product version modification, stopped working. I haven't neither deleted/modified or add a
    "Grant" MPR or any of the corresponding Sets since last time I saw it working.
    Displayed error is "Request could not be dispatched" in FIM Portal and is referencing a stored procedure in Event Viewer.
    ***Error details
    When I try to delete a User object, here is the output :
    Portal
    "Processing error" on submit
    with the following details 
    Request status is stuck at "Validating" until next restart of FIM Service (after what it becomes “Canceled”)
    Request’s “Applied Policy” tab does not contain any MPR where, at least, a “Grant” MPR is expected
    As SQL Timeout is relatively high and error happens quickly, I don’t think there is a Timeout problem under that.
    Logs
    « Application »
    The Portal cannot connect to the middle tier using the web service interface.  This failure prevents all portal scenarios from functioning correctly.
    The cause may be due to a missing or invalid server url, a downed server, or an invalid server firewall configuration.
    Ensure the portal configuration is present and points to the resource management service.
     « Forefront Identity Manager »
    Reraised Error 50000, Level 16, State 1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements,
    Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition" because it does not exist or you do not have permissions.
    Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
    Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Data.SqlClient.SqlException: Reraised Error 50000, Level 16, State
    1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements, Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition"
    because it does not exist or you do not have permissions.
    Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
    TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult
    result)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.ResourceManagement.Data.DataAccess.UpdateRequest(RequestType request, IEnumerable`1 updates)
       --- End of inner exception stack trace ---
    Requestor: urn:uuid:7fb2b853-24f0-4498-9534-4e10589723c4
    Correlation Identifier: e7209633-46d0-4f4b-a59e-807649ef71ea
    Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.InvalidCastException: Specified cast is not valid.
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
    operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier, UniqueIdentifier requestContextIdentifier,
    Boolean maintenanceMode)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
    operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier)
       at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Delete(Message request)
       --- End of inner exception stack trace ---
    For information, a maintenance plan rebuild/reorganize indexes daily and this problem has occurred on servers with different performances.
    Is any of you has already encounter this problem ?
    Any help would be greatly appreciated,
    Thanks in advance for your help,
    Matthew

    While there are several SQL Agent jobs (FIM Temporal Events, Maintain Sets, and Maintain Groups among others)created by the FIM install only one of those is enabled and scheduled and it calls all of the same stored procedures that the other
    jobs do. Step 2 is Maintain sets and Step 3 is maintain groups. So the Maintain sets and groups jobs never need to get enabled and scheduled, but if you want them to be maintained more frequently then you can.
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • ORA-04062 error when running forms with different users

    ORA-04062 error when running forms with different users
    I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
    I wrote a stored procedure to get the data from other user's tables.
    When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
    I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
    My Forms version is 6i with Patch 15.
    Database version is 9.
    Here is my stored procedure:
    TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
    TYPE Open_Curs IS REF CURSOR;
    PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
    Curs Open_Curs;
    i NUMBER;
    BEGIN
    OPEN Curs FOR
    'SELECT Seq_No FROM '|| User_Name ||'.scenario';
    i := 1;
    LOOP
    FETCH Curs INTO Scen_Table(i);
    EXIT WHEN Curs%NOTFOUND;
    i := i + 1;
    END LOOP;
    END Get_Senarios;
    I would be happy to solve this problem. It's really important.
    Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)

    I think it should be a better solution to create a package,
    and put your own TYPES and procedure into it.
    CREATE OR REPLACE PACKAGE PKG_XXX IS
    TYPE TYP_TAB_CHAR IS TABLE OF .... ;
    PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
    END ;
    Then in your Form :
    Declare
    var PKG_XXX.TYP_TAB_CHAR ;
    Begin
    PKG_XXX.P_XX( 'user_name', var ) ;
    End ;

Maybe you are looking for

  • Inserting/updating data in control block based on view

    Hi! I`ve created a block based on a view to display data. I want this block to be insertable and updateable, that is I will use a on-insert/update trigger to call an insert/update procedure located in the database. When trying to change/insert a valu

  • The song has been working on our mac for a year and has suddenly stopped working??

    For some reason it has stopped i have tried rebooting but it still does not work it has been working for 1 year and now has stopped.

  • Need to minimize the space in the tables, Help?

    Hi I am designing a website for a family friends Company, running off a small template edited the hell out of the logos etc; now i need less space between the topheader with the frog and thebottom footer. I dont have much expirence with tables with w

  • Motion blur in FCP X?

    How do I turn Motion Blur on for an image in FCPX? I have a png supplied by the client that I am applying some movement to to and need to introduce some motion blur to smooth the motion a little, any ideas? Thanks Tony

  • IBooks in Maverick will not open / download

    Since upgrading to Mavericks yesterday, I cannot access the majority of my iBooks on my Mac. I can see that the majorioty of my iBooks are showing in my iTunes library under iTunes/iBooks. All barring 5 books have a cloud symbol in the top right of t