Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Data is not being passed

Avatar

Avatar
Level 2
BPM_user
Level 2

Likes

0 likes

Total Posts

34 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
BPM_user
Level 2

Likes

0 likes

Total Posts

34 posts

Correct Reply

0 solutions
View profile
BPM_user
Level 2

11-12-2008

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!

Replies

Avatar

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile
Jasmin_Charbonn
Level 10

11-12-2008

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

Avatar

Avatar
Level 2
BPM_user
Level 2

Likes

0 likes

Total Posts

34 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
BPM_user
Level 2

Likes

0 likes

Total Posts

34 posts

Correct Reply

0 solutions
View profile
BPM_user
Level 2

11-12-2008

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!

Avatar

Avatar
Validate 1
Level 5
yodadobe
Level 5

Likes

12 likes

Total Posts

298 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 5
yodadobe
Level 5

Likes

12 likes

Total Posts

298 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
yodadobe
Level 5

11-12-2008

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.

Avatar

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile
Jasmin_Charbonn
Level 10

12-12-2008

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

Avatar

Avatar
Level 2
BPM_user
Level 2

Likes

0 likes

Total Posts

34 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
BPM_user
Level 2

Likes

0 likes

Total Posts

34 posts

Correct Reply

0 solutions
View profile
BPM_user
Level 2

12-12-2008

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.

Avatar

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile
Jasmin_Charbonn
Level 10

12-12-2008

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

Avatar

Avatar
Level 2
BPM_user
Level 2

Likes

0 likes

Total Posts

34 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
BPM_user
Level 2

Likes

0 likes

Total Posts

34 posts

Correct Reply

0 solutions
View profile
BPM_user
Level 2

12-12-2008

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(com.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.TransactionCallback) 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(TaskNotificationServiceImpl.java:260)

at com.adobe.livecycle.notification.TaskNotificationServiceImpl.taskAssignment(TaskNotificationServiceImpl.java:278)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Avatar

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile
Jasmin_Charbonn
Level 10

12-12-2008

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

Avatar

Avatar
Level 2
BPM_user
Level 2

Likes

0 likes

Total Posts

34 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
BPM_user
Level 2

Likes

0 likes

Total Posts

34 posts

Correct Reply

0 solutions
View profile
BPM_user
Level 2

28-12-2008

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.