Process + Servlet to invoke process + form + database

GetMortgageForm process
The following illustration shows the GetMortgageForm process (see Figure 2).
Figure 2. A LiveCycle ES process that returns an interactive form.
Note: This document does not describe how to create a process by using Adobe LiveCycle Workbench ES. (For information, see Workbench ES Help.)
The following table describes the steps in this diagram.
Operation Description
1 The user submits a custom identifier value and the operation to perform. In this situation, assume that the user is applying for a mortgage. The input parameters for this process are a string value that specifies the form name (named formName) and another string value that represents the custom identifier value (named custId).
Note: In the Java application logic located in the Java servlet, the formName and custId process variables are referenced.
2 The process uses the customer identifier value to perform a relational database look-up for additional customer information by using the JdbcService service's Execute SQL Statement operation. The custom identifier value acts as the primary key value.
3 Merges customer data into an XML data source that is used to prepopulate the form. (See "Prepopulating Dynamic Forms" in Programming with LiveCycle ES.)
4 The mortgage form is rendered with customer data located in some of the fields, such as the address field. This action is based on the Forms service's renderPDFForm operation.
The Java servlet receives the form (return value for the process) and writes the form to a client web browser. The name of the output parameter is RenderedForm. This parameter is a process variable and its data type is FormsResult.
Note: In the Java application logic located in the Java servlet that invokes this process, the RenderedForm process variable is referenced.
This interactive loan form is rendered by the GetMortgageForm process (see Figure 3).
Figure 3. An interactive form.
Note: This document describes how to use the Invocation API to invoke a LiveCycle ES process. It is recommended that you are familiar with the Invocation API before you follow along with this document. (See "Invoking LiveCycle ES Processes" in Programming with LiveCycle ES.)
Summary of steps
To create a Java servlet that invokes a LiveCycle ES process, perform the following steps:
1. Create a new web project.
2. Create Java application logic that represents the Java servlet.
3. Create the web page for the web application.
4. Package the web application to a WAR file.
5. Deploy the WAR file to the J2EE application server.
6. Test your web application.
Note: Some of these steps depend on the J2EE application on which LiveCycle ES is deployed. For example, the method you use to deploy a WAR file depends on the J2EE application server that you are using. This document assumes that LiveCycle ES is deployed on JBoss®.
Creating a web project
The first step to create a Java servlet that can invoke a LiveCycle ES process is to create a new web project. The Java IDE that this document is based on is Eclipse 3.3. Using the Eclipse IDE, create a web project and add the required JAR files to your project. Finally, add an HTML page named index.html and a Java servlet to your project.
The following list specifies the JAR files that you must add to your web project:
adobe-forms-client.jar
adobe-livecycle-client.jar
adobe-usermanager-client.jar
adobe-utilities.jar
For the location of these JAR files, see "Including LiveCycle ES Java library files" in Programming with LiveCycle ES.
Note: The adobe-forms-client.jar file is required because the process returns a FormsResult object, which is defined in this JAR file.
To create a web project:
1. Start Eclipse and click File > New Project.
2. In the New Project dialog box, select Web > Dynamic Web Project.
3. Type InvokeMortgageProcess for the name of your project and then click Finish.
To add required JAR files to your project:
1. From the Project

Peter - Set the Source Used attribute of P42_FK1 to "Only,..." .
Scott

Similar Messages

  • Error when trying to view process form

    I see an Array Index out of Bounds error when I try to open the OID process form
    ERROR [XELLERATE.WEBAPP] Class/Method: UserDefinedFormAction/prepareProcessForm encounter some problems: -1
    java.lang.ArrayIndexOutOfBoundsException: -1
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.thortech.xl.webclient.util.FormFieldPopulator.getFormFieldsWithValue(Unknown Source)
         at com.thortech.xl.webclient.actions.UserDefinedFormAction.prepareForm(Unknown Source)
         at com.thortech.xl.webclient.actions.UserDefinedFormAction.prepareProcessForm(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
         at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
         at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
         at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.thortech.xl.webclient.security.CSRFFilter.doFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
         at java.lang.Thread.run(Thread.java:619)

    Did you create any new OID Process Form Fields or deleted any existing old 1. This could usually occur when their is a mismatch in the Process Form for the user resource and the actual active version of the form in the Form Designer. If that is true then try the Form Version Control utility to make them consistent.
    Thanks
    SRS

  • Error While updating Process form data Using Scheduler

    Hi All,
    I am trying to update Process form data (ex : lastname) using a scheduled task Code. I am getting Error while updating Field.
    Code :
    HashMap<String, String> map = new HashMap<String, String>();
    map.put("UD_EBS_PF_LASTNAME", "lastname");
    formintf.setProcessFormData(instancekey, map);  //I AM GETTING AT THIS LINE
    Saying
    Thor.API.Exceptions.tcAPIException: The following required fields have not been given values:EBS IT Resource : The following required fields have not been given values:EBS IT Resource
        at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
        at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
        at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
        at Thor.API.Operations.tcFormInstanceOperationsIntfEJB_h6wb8n_tcFormInstanceOperationsIntfRemoteImpl_1036_WLStub.setProcessFormDatax(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
        at $Proxy2.setProcessFormDatax(Unknown Source)
        at Thor.API.Operations.tcFormInstanceOperationsIntfDelegate.setProcessFormData(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.security.Security.runAs(Security.java:41)
        at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
        at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
        at $Proxy3.setProcessFormData(Unknown Source)
        at com.wyndham.tasks.AssignRandomPasswordToAllUsersSchedulerTest.execute(AssignRandomPasswordToAllUsersSchedulerTest.java:182)
        at com.wyndham.tasks.AssignRandomPasswordToAllUsersSchedulerTest.main(AssignRandomPasswordToAllUsersSchedulerTest.java:63)
    Caused by: Thor.API.Exceptions.tcAPIException: The following required fields have not been given values:EBS IT Resource : The following required fields have not been given values:EBS IT Resource
        at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:761)
        at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:426)
        at Thor.API.Operations.tcFormInstanceOperationsIntfEJB.setProcessFormDatax(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Is that possible there was the field ZDATE in your form interface/ context and now it is not? I guess some source has changed so the field in the form (binding to the not existing field) cannot be processed. Otto

  • OIM 11g: Error while prepopulating process form

    I have a custom resource, with 4 child tables. When trying to provision the resource to a user when I click through to start populating data, I get the following error:
    Target Class = com.thortech.xl.util.adapters.tcUtilDateOperations
    <Mar 17, 2012 9:23:54 AM EDT> <Error> <XELLERATE.APIS> <BEA-000000> <Class/Method: tcFormInstanceOperationsBean/prepopulateProcessForm encounter some problems: Error occurred while pre-populating process form.>
    <Mar 17, 2012 9:23:54 AM EDT> <Error> <XELLERATE.APIS> <BEA-000000> <Class/Method: tcFormInstanceOperationsBean/prepopulateProcessForm encounter some problems: Column 'PRIMARY ID' not found
    com.thortech.xl.dataaccess.tcDataSetException: Column 'PRIMARY ID' not found
         at com.thortech.xl.dataaccess.tcDataSet.getColumnIndex(tcDataSet.java:651)
         at com.thortech.xl.dataaccess.tcDataSet.getDataType(tcDataSet.java:742)
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(tcFormInstanceOperationsBean.java:3219)
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(tcFormInstanceOperationsBean.java:3130)
         at Thor.API.Operations.tcFormInstanceOperationsIntfEJB.prepopulateProcessFormx(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor1213.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    Followed by:
    <Mar 17, 2012 9:23:54 AM EDT> <Error> <XELLERATE.WEBAPP> <BEA-000000> <Class/Method: DirectProvisionOrganizationAction/prepopulateForm encounter some problems: Error occurred while pre-populating process form.
    Thor.API.Exceptions.tcAPIException: Error occurred while pre-populating process form.
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(tcFormInstanceOperationsBean.java:3245)
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.prepopulateProcessForm(tcFormInstanceOperationsBean.java:3130)
         at Thor.API.Operations.tcFormInstanceOperationsIntfEJB.prepopulateProcessFormx(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor1213.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    It is telling me that the 'PRIMARY ID' column is not found, and that is correct, as there is no column called 'PRIMARY ID'
    I have 6 pre-populate tasks on the Parent form. These are all simple UtilityTasks that do the following:
    1: Return Current Date on field name 'Start Date'
    2: Return usr_key on field name 'Initiated By'
    3: Return usr_key on field name 'Updated By'
    4: Return Current Date on field name 'Activity Date'
    5: Return Current Date on field name 'Updated Date'
    6: Return Organization Name on field name 'Organization Name'
    There are no pre-pops other than these 6. None of the 4 child forms have pre-pops associated with them.
    Where can I find what process form is calling the pre-pop on 'PRIMARY ID' ?
    I have dumped the metadata as well, and searched for an event handler / plugin that may be called, but there is nothing there. I only have postprocess handlers defined.
    Please help.
    Thank you.

    I reviewed the RAV, POC, and ODF tables.
    POC and ODF are empty. There is no data within the tables.
    In the RAV table, I see the following for 'select RAV_MAP_QUALIFIER,RAV_MAP_VALUE' from RAV;"
    RAV_MAP_QUALIFIER RAV_MAP_VALUE
    Organization ID act_key
    User Key usr_key
    User Login usr_login
    Organization Name act_name
    Middle Initial usr_middle_name
    User Login usr_login
    ADITResource
    User Login usr_login
    Last Name usr_last_name
    Password usr_password
    First Name usr_first_name
    Middle Initial usr_middle_name
    Middle Initial usr_middle_name
    ADITResource
    ADITResource
    Last Name usr_last_name
    Last Name usr_last_name
    First Name usr_first_name
    First Name usr_first_name
    19 rows selected
    I don't see the other form pre-pops that exist... Specifically the date prepops that I have defined. These just seem to be the pre-pop adapters that are associated with USR objects, not the process forms.
    Thank you.

  • How to read User ID from the request Form and pre populating in the AD User process form before provisioning

    I am trying to read the user Id from the submitted AD User request form( Catalogue AD User form. I need User Id,firstname and lastname inorder to prepopulate the common name as in this format - lastname,firstname (userid)  for the user to be provisioned in Active Directory.
    So after filling the AD User request form with User Id and Organization and submitting the request, I am trying to
    prepopulate the common name in the process form before the provisioning.
    The prepopulate adopter for the common name is configured to read the firstname, lastname and userid. firstname and
    lastname variables are mapped to User definition and user Id is mapped to Process Data. In this setup I am not getting the
    User Id value from process data, it is empty.
    Is this a bug with OIM 11g R2 or I need to do it differently in order to read the user Id that user has entered in the
    request form for populating the common name?
    Thanks

    Ghulam Yassen wrote:
    How to get USER_ID and IP_AddressWhy exactly do you need this data and what do you plan to do with it?
    The data is not reliable and trustworthy. IP addresses can easily be spoofed (a few seconds if you know what to do and how to do it). Also, IP addresses are not static. Users also do not use the same network device to access the database - different devices will have different IP addresses.
    The o/s user on the client is supplied by the client driver. This can also be spoofed.
    The user can also use a virtualised device - which means that recording the IP and o/s user seen from the server side, is pretty much useless and meaningless.
    So if this data is intended to be used for auditing for example - it would be pretty suspect data to use for that purpose.

  • How to restrict the modification of a process form field.

    Hi,
    Is there a way out to restrict the modification of a process form field.
    I have a process form field loginid which can not be updated in a target. I want to achieve the same in OIM. I have not created any update task for the field but if the user changes the loginid field then it is getting saved in the OIM database and hence any operation thereafter is falling.
    Thanks

    Hi Kevin.
    I really appreciate your help.
    But I tested your configuration in our environment and it doesn't work. The same error (The Resource has not been configured properly) is displayed when I try a provisioning for that resource. Anyway, we could not use this configuration here, because end-users shall have the option to change some values in their process form.
    I don't know why, but seems that when I define any field as Display-Only, the prepopulate adapter runs in a post-insert schedule and a error is given cause it try to fulfill a display-only field, which is not allowed.
    I try an alternative configuration, which works properly:
    - keep the field User ID as Text Field.
    - use the prepopulate adapter to populate this field with the User Login (previously defined in the User Definition form)
    - delete the property "required = true" to this field
    - set property "visible = false" to this field
    In this way, the end-users can modify the other fields, except User ID. Otherwise, they never will can see their own User IDs while making a request. For new users it will not be a problem because their User Login (on User Definition) and User ID (on Process Form) will be exactly the same, but for users that already exists in the target system, this values will be different which can originate small issues.
    Until achieve an understanding about why a display-only field can not be filled by an pre-populate adapter, I will use this setting above.
    Regards.

  • Duplicate Entry in Child Tables in AD Process Form on triggering multipleAP

    hi all,
    I have a scenarion in which I have to provision AD Group Membership, for addition of each role to User.
    so I have created 5 Access policies, 5 roles and mapped AD Group in each access policy.
    The roles are comming from trusted source seperated by a string tokenizer.
    I have java code which will trigger and assign the role memberhsip to user, one after the other. iterating with the string tokenizer(;)
    The problem I see is, I see multiple entries of AD Groups in the process form for each group.
    If I add 3 roles to the user, I am seeing 6 entries in the AD Process form. Duplicate row for each and every row. sometimes i see 3 entries for each row. and 1 entry for each row.
    If I add the role memberships manually, by searching, then I dont see any problem with the AD child form.
    and also If I add a single group membership I dont see any problem with the AD Child form.
    I suspect that the event handler tcEvaluateAccessPolicies which is there in the post update is trying to add the duplicate entries as still the AD Group membership which is triggered for the first time is not yet finished by evaluating the access policies again.
    any such experiences? thoughts? work arounds?
    my oim environment is OIM11.1.1.3.0 on weblogic server.

    I have always coded these checks into my custom code whenever i maninuplate child table data. When adding, i always check the existing and when deleting, i always check if the value exists that i'm removing. I would suggest you write a piece of code that does the same and keep it in your library of re-usable code.
    You could try going to the database and making the field for the name a unique field. I don't know what the outcome will be from doing so.
    -Kevin

  • How to make a simple BPEL-process with database access

    I hope somebody can help me.
    I want to make a BPEL process that get a message via MEDIATOR. That message has to update a database table.
    So far as I know : start in composite with mediator - bpel process and database adaptor.
    What have to be done in the bpel process ?
    I hope somebody can help me, Thnx, Carel

    In a nutshell -
    Create a Database Adapter in the composite.xml UI. Drag a wire from BPEL process to that db adapter you just created. Go to BPEL process (double click), use invoke activity after the initial receive activity, and drag a wire to make the connection to the partner link on the right hand side swim lane (which is your DB Adapter).
    On doing that, you will be seeing the input/output variables generated in the Invoke Activity (should be of type expected by DB adapter).
    Next - drop an assign activity between Receive and Invoke and make the transformations from the "message from the mediator" to this Input Variable (created as part of the invoke activity).
    You are good to go!
    Regards
    Swgt

  • Provision from Process form

    I have a process form which has fileds like fname,lname and a lookup filed roles which queries the code decode key from the custom db table
    The fname and lname I can provision easily to the database table but with fname and lname I also need to provison the code value in roles lookup to the database table.
    Any idea how can I approach this?
    Edited by: watisoim on May 26, 2010 5:33 AM

    Martin,
    Thanks for your reply.
    when u say custom "*custom task that does the lookup conversion and then writes to a hidden field on the process form that then writes down into the database* ",can u please xplain a little more on this
    Now for this.I tried the below approach
    1.created acode which will populate the looup values from my custom db table
    2.Now while coniguring the GTC I specified Roles filed as lookup and lookup property as the name of the lookup.
    3.Now when I click on binoculors sign it selects the decode value in the filed,but when provisioned it provisions the code value rather than decode value which I actually want.
    Also If I have a value in a process form,is there a way I can see if the same value is provisioned to target resource while its getting provisioned and not in target system?
    Cheers!!
    -M
    Edited by: watisoim on May 28, 2010 1:30 AM

  • Process form in OIM11g R2

    Hi All,
    Is the option to see the process form values for a resource object provisioned to an user not available in OIM11g R2 ?
    If so , how can we see the process form values for each Application instance provisioned to an user ?
    Thanks in Advance.

    As far as I know when you click on the app instance provisioned to an user in resource profile only app instance form values are displayed.You will not be able to find the process form values. To know the values I used to query the database table associated with the process form. R2 added the Application Instance layer (including form) and thus the Process Form is NEVER displayed
    Edited by: Durgaprasad on May 2, 2013 11:54 PM

  • How does an Adapter task update ud_aduser process form

    Hi All,
    I have a Task Adaptor that changes the ad password using a random password generator. I need to then send that password via email to the user so I am thinking I need to update the aduser process form with this generated password.
    Thanx
    Fred

    This is a quite common but unfortunately not very easy problem to solve.
    What you usually do is to create a grace period of anything from a few days to a few months where the user is disabled and moved to a "frozen" ou. If the user is re enabled during this time period the user is brought back to life again.
    It seems like your "dead" container works a bit in the same way. You could theoretically serialize the information about the user and write it to a database table (or another persistent storage) and recreate the user using that information but I would not recommend this. The main reason is that some information i.e group membership might have changed meaning during the time the user was frozen. This might result in inappropriate rights given to the returning user.
    I would recommend using a two tier system where the user gets:
    1. Disabled and moved to the "grace period" container
    2. After X amount of time the user is deleted and is gone forever
    You might want to consider adding a "deep freezer" container where you stick accounts that belongs to users who are on maternity leave or sabbatical but it likely to come back within Z amount of time. Consider removing group memberships of these users before sticking them in the freezer or at least mandate a process where the group memberships are reviewed on reactivation.
    Hope this helps
    /M

  • Target reconciliation Process Form

    Hi,
    I had done target reconciliation for lotus notes and the users got linked with OIM. I did some changes in the process form (I added CompanyName field) now when i am going target reconciliation again it is not get the companyname field in the process forms for the users. I checked the database table it contains the values for companyname. So it is not showing me the new updated process form for the users.
    Thanks & regards,

    Hi,
    I gonna tell you my trade secret.Let me understand your problem first.
    1.You created the process form and did the reconciliation and user got linked.
    2.You updated the process form and did the reconciliation again ,event got linked but process form did not get updated.
    Problem:
    See this is very old scenario that we face,atleast in my 3 years of OIM career I did faced this issue.With every provisioned resource OIM keep the information of process form in respective UD_Process form Name .Along with that it also contain the process form version so when ever you create a new version of process form it works fine for new provisioned object but OIM does not update the process form version in UD_ table for old entries. Thats why when you view the process form it will not show you the latest modified field.
    Solution:
    Every problem has solution yes I agree so what you can do to resolve the problem.First always design in a such a way that you don't need to modify the form but if you already done this mistake so this is how you can solve the problem.
    1.Take one user and provisioned it to lotus note resource.
    2.Get the usr_key of this user.
    3. select orc_key from orc where usr_key= ?? (Key that you get in step 2.
    4.select * from UD_LOTUSFORM where orc_key=?? Key that you get in step3
    5.Now you will see a field called UD_LOTUSFORM_VERSION ..See what is the value of this version.
    6.Update UD_LOTUSFORM set UD_LOTUSFORM_VERSION=?? ( Value you get in step5) WHERE 1=1 (It will update all existing entry)
    7.Run the reconciliation again.
    You are done buddy.Let me know if you have any questions.
    Regards
    Nitesh

  • How to delete columns from process form table

    hi,
    I have a process form UD_FN_USR. I created one column userid with type long and later the requirement got changed and I need to change the type to string.I am able to delete the column from design console but in the table the column exits so that I coulnt create the column with same name as type string , its tellling same column name exits with different datatype in current version or previous versions.can anybody please tell me how to solve this issue

    Sorry for late response. Got stuck in work.
    This time it will answered ;-)
    ALTER TABLE UD_ABCD DROP COLUMN UD_ABCD_UID
    DELETE FROM SDC WHERE  SDC_NAME='UD_ABCD_UID';
    COMMIT;
    Thanks
    Rajiv Dewan

  • Problem while populating a field on process form- Values truncated

    Hi,
    I am facing a strange problem.
    I have a requirement to populate Country field on AD process form based on the value of country code on the same process form which should eventually go to 'co' attribute in AD. So for eg. if the Country Code has value- 'US' then the Country field should be populated with 'United States'. This value is picked from lookup- Lookup.Locations.Country.
    My adapter code works perfectly fine (checked using sysouts) it gets the proper values from the lookup but the country filed gets populated only with partial value. So instead of United States it only shows 'UNIT'. Same is for any country having more than 4 charatcters. It truncates the rest of the string and populates the field with only first 4 characters. I tried manually populating the Country field with complete country name on the process form and it works fine and the same value goes to AD also but when I run the adapter it only populates it with 4 charactetrs.
    This is strange and I have no clue what could be stopping it. Any idea/experiences?
    Thanks in advance,
    -Abhi

    Hi Abhi,
    Can you tell me how you have implemented populating an UDF based on Prepopulation of another UDF. I have a similar kind of requirement. It would be great if you share your code or relevant part of it.
    Regards,
    Sunny Ajmera

  • Error occured while sending a form in test in HCM Process & Forms

    Hi
    An error occured while testing my process in Design Time Tool. All the process, form, and workflow are consistent and activated, however when I send the form in test program available in Design Time Tool I get a Short Dump (as below) followed by the error "Workflow Item Not Found, Workflow Not Started."
    Category               ABAP Programming Error
    Runtime Errors         MESSAGE_TYPE_UNKNOWN
    ABAP Program           CL_POBJ_CASE==================CP
    Application Component  PA-AS
    Date and Time          23.02.2012 09:38:34
    Short text
    Message type " " is unknown.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "CL_POBJ_CASE==================CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    Only message types A, E, I, W, S, and X are allowed.
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "MESSAGE_TYPE_UNKNOWN" " "
    "CL_POBJ_CASE==================CP" or "CL_POBJ_CASE==================CM00D"
    "IF_POBJ_CASE~CREATE_CASE"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    Looking forward to your expert advice to resolve this error.
    Best regards
    Imran

    This can be a few things....
    1. Make sure you set up your number range for CASE Mgmt (t-code SCASE_NUMBERANGE)
    2. if the POBJ_MODEL is missing in your CASE Mgmt environment
    3. if the doc id for your object models (process, scenario, case) are somehow "out of whack" (not matching) between CASE mgmt, SCASE_CUSTOMIZING and SRMREGEDIT
    4. authorization issues (which it more likely is)... I know it sounds weird, but even giving you SAP_ALL will not do it (even it is missing some of the auth objects). You have to be able to read/write to CASE Mgmt (so the related auth objects are needed....look for ones with S_SRM* or S_SCM*). Also, WF-BATCH user needs this auth as well!
    This part can be a PAIN to get sorted out.

Maybe you are looking for

  • Updated to 10.6.8, Safari won't even open...

    And here's the details... Does anyone know what's going wrong? Process:         Safari [271] Path:            /Applications/Safari.app/Contents/MacOS/Safari Identifier:      com.apple.Safari Version:         5.0.5 (6533.21.1) Build Info:      WebBrow

  • LinkedIn Samsung Note 10.1 not working

    Ive tried all the settings, downloaded the LinkedIn mobile app. I can log in but thats as far as I can go. All i I get after logging in is a blank screen. Is anyone else having this problem?

  • Why does Reader crash my computer?

    By crash I mean power off. No error messages, the computer shuts off immediately (no "window is shutting down", etc dialog box). It started after I upgraded to X. I can open one pdf. If I open another one, or close it and reopen, the computer turns o

  • Editing/creating a custom dictionary

    I have some custom dictionaries in my Apple Dictionary application. I'm looking for a way to edit them (change font colors, line spaces, etc.), but I don't fin any program that can edit dictionaries or let me even create one myself. Any ideas?

  • Problems with in design

    I am the owner of a fantastic Sony vaio with vista on ! (i hate this) . they told me that indesign don't support my system what can I do ?