9 Replies Latest reply on Dec 28, 2008 6:38 PM by BPM user

    Data is not being passed

    BPM user
      Hi all,
      I have tried to prepoulate data( The first and last name of the user)on to the form using the form render service. I am invoking the render service in the initial stage when user opens the form. So for the main input form in the advanced setting I am using calling the render service. The problme is the data(users first and last name) is getting populated but when I fill the form and pass it to the next stage there is no data on the form except for the next users first name and last name which is not desired.
      I do not understand the reason why the data is not being copied to the next satge. In the assign task output variable i used the same variable as input...but nothing is being copied over.

      Please help me out.

      Thanks in advance!
        • 1. Re: Data is not being passed
          Jasmin Charbonneau Level 4
          The problem is because you use the same render service for the two User steps.

          The render service will render the xdp defined in the xfaForm variable. If the render service populates the form with the current user name then it will always do that no matter what step you're in.

          What you can do is create another xfaForm variable that points to the same XDP but that uses a differenr render service that just uses the data from the previous step (no prepop).

          So the first xfaForm varibale would only be used for prepopulation, after that you put the data into another variable that uses the standard RenderPDFForm render service.

          You can use a setValue to copy the content of your first xfaForm into the second xfaForm var. Something like /process_data/xfaForm2 = /process_data/xfaForm1.

          Then use xfaForm2 on the second and subsequent user step. Make sure on the render service for xfaForm2 that you set the inDataDoc to Task -> Form Data.

          I hope this helps.

          Jasmin
          • 2. Re: Data is not being passed
            BPM user Level 1
            Hi Jasmin,
            Thanks for your response.

            I get the following error when i try copy the data.

            2008-12-11 17:33:07,801 INFO [STDOUT] Dec 11, 2008 5:33:07 PM com.adobe.idp.event.notification.NotificationManagerImpl deliverNotificationToService
            SEVERE: Notification could not be delivered to registered subscriber. Reason: Internal error.
            2008-12-11 17:33:07,801 INFO [STDOUT] Dec 11, 2008 5:33:07 PM com.adobe.idp.event.notification.NotificationManagerImpl setNotificationDeliveryFailure
            INFO: Attempting to disable the notification after delivery.
            2008-12-11 17:33:07,801 INFO [STDOUT] Dec 11, 2008 5:33:07 PM com.adobe.idp.event.notification.NotificationManagerImpl setNotificationDeliveryFailure
            INFO: Attempting to disable the notification after delivery.
            2008-12-11 17:33:07,817 INFO [STDOUT] Dec 11, 2008 5:33:07 PM com.adobe.idp.event.util.EventDBHelper getActiveEventByPrimaryKey
            INFO: Event with id 7053 is already disabled, EventService will not deliver notification.
            2008-12-11 17:33:07,817 INFO [STDOUT] Dec 11, 2008 5:33:07 PM com.adobe.idp.event.notification.NotificationManagerImpl updateEventStatus
            INFO: Event with id 7053 is already inactive.Event instance with id 7053 is inactive for TaskCreated
            2008-12-11 17:33:11,160 INFO [com.adobe.workflow.AWS] Invoking action synchronously
            2008-12-11 17:33:11,160 INFO [com.adobe.workflow.AWS] Invoking action synchronously
            2008-12-11 17:33:11,160 INFO [com.adobe.workflow.AWS] Invoking action synchronously
            2008-12-11 17:33:11,160 INFO [com.adobe.livecycle.formdataintegration.server.FormData] ALC-FDI-001-307: Processing importData operation on source document 28136558.
            2008-12-11 17:33:11,176 ERROR [com.adobe.livecycle.formdataintegration.client.ImportFormDataException] ALC-FDI-001-305: Operation aborted: malformed PDF or data.

            Can I send the procedure file to ur Id?
            Please help me.Thanks for ur help. I really appreciate it!
            • 3. Re: Data is not being passed
              Steve Bishop Level 2
              If you were overwriting the initial data with blank data in the render, you can modify the render to only set the values the first time it is called. You would have to have logic around that such as the username being blank.
              • 4. Re: Data is not being passed
                Jasmin Charbonneau Level 4
                Can you use the record and playback and check which step it's failing on?

                You get a ALC-FDI-001-305: Operation aborted: malformed PDF or data, it looks like you're not getting the data type you're expecting.

                Jasmin
                • 5. Re: Data is not being passed
                  BPM user Level 1
                  Hi jasmin,
                  Thanks again. I am using 8.1 version and do not have the record and play back option. I am using the xfa data variable and the form is XDP. The data is getting prepopulated but the other data is not being passed. i cannot move further unless this is fixed. May I have ur email address so that I can send you the lca file.
                  Thaka a lot for ur help.
                  • 6. Re: Data is not being passed
                    Jasmin Charbonneau Level 4
                    Try to set the data that way:

                    /process_data/xfaForm2/object/data = /process_data/xfaForm1/object/data.

                    You can send your lca to livecycle8@gmail.com. I'll load it up if I have time.

                    Jasmin
                    • 7. Re: Data is not being passed
                      BPM user Level 1
                      Hi Jasmin,
                      Well I tried that before and the form doesn't get opened in workspace in the next stage and I get the following error. (Processing importData operation on source document and malformed PDF or data) Thanks a lot I will send the lca file. thanks in advance for taking a look at it and helping me.

                      2008-12-12 11:35:00,322 INFO [com.adobe.workflow.AWS] Invoking action synchronously
                      2008-12-12 11:35:00,338 ERROR [com.adobe.livecycle.formdataintegration.client.ImportFormDataException] ALC-FDI-001-305: Operation aborted: malformed PDF or data.
                      2008-12-12 11:35:00,338 INFO [STDOUT] Dec 12, 2008 11:35:00 AM com.adobe.idp.workflow.dsc.service.OrchestrationEventListenerService propogateFault
                      INFO: ProcessManagerSerice:throwEvent()
                      2008-12-12 11:35:00,338 INFO [com.adobe.workflow.AWS] Invoking action synchronously
                      2008-12-12 11:35:00,338 INFO [com.adobe.livecycle.formdataintegration.server.FormData] ALC-FDI-001-307: Processing importData operation on source document 23637674.
                      2008-12-12 11:35:00,338 ERROR [com.adobe.livecycle.formdataintegration.client.ImportFormDataException] ALC-FDI-001-305: Operation aborted: malformed PDF or data.
                      2008-12-12 11:35:00,354 INFO [STDOUT] Dec 12, 2008 11:35:00 AM com.adobe.idp.workflow.dsc.service.OrchestrationEventListenerService propogateFault
                      INFO: ProcessManagerSerice:throwEvent()
                      2008-12-12 11:35:00,369 INFO [com.adobe.idp.scheduler.SchedulerServiceImpl] OneShot Trigger created ----------------------------------------
                      2008-12-12 11:35:00,385 INFO [com.adobe.idp.scheduler.SchedulerServiceImpl] OneShot Trigger created ----------------------------------------
                      2008-12-12 11:35:00,400 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterLocal.doSupports(c om.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.Transacti onCallback) throws com.adobe.idp.dsc.DSCException, causedBy:
                      ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
                      at com.adobe.livecycle.notification.TaskNotificationServiceImpl.handleNotificationEvent(Task NotificationServiceImpl.java:260)
                      at com.adobe.livecycle.notification.TaskNotificationServiceImpl.taskAssignment(TaskNotificat ionServiceImpl.java:278)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      • 8. Re: Data is not being passed
                        Jasmin Charbonneau Level 4
                        Ok, you have a few things wrong.

                        First you have two xfaForm variables set to be input. You can't do that. You can only have one form that start the process. Remove the 'input' for Leavemain.

                        The other thing you need to change is the render service used by Leavemain. It currently uses the Default Render service which only works with PDF and not XDP. That's why you get this "importData Operation aborted: malformed PDF or data" because it tries to add data to a XDP but "Import data" only works with PDF.

                        For the susequent user steps you want to use the original "Render PDF Form" (the one that's version 1.0) but you can't anymore since you have a 1.1 verison of that process that adds the user information to the form.

                        What you can do is create a new render process, I called mine Render PDF Form Original and copied the "Render PDF Form - 1.0" and used that as the render service for LeaveMain.

                        Once I did that it worked fine.

                        Jasmin

                        Jasmin
                        • 9. Re: Data is not being passed
                          BPM user Level 1
                          Thanks jasmin - Got it done finally. Used a condition to determine who has logged in first stage and in the subsequent stages only the data will be paased and the render service will not be invoked.