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

Some Challenges facing in Desigening WF

Avatar

08-11-2005

We are facing some challenges in designing the workflow as mentioned below.



The "Action" dropdown in forms is not getting populated. We added values in choice list in initform dialog box.We also selected "Include route name in form data" from designer when "User" QPAC was used.



We need to design a work flow in which initiator need to fill all the approvers userids. The total users are going to be in the range of 25-30. Once initiator submits the form, it should go to all the users sequentially(i.e. After first user approval,it moves to second user as mentioned in form field ). We are not able to locate array or similar data structure type to store userids. What will be recommended approach to store a group of variables which need to be used for workflow step?

Replies

Avatar

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
HowardTreisman
Level 9

08-11-2005

Hi



In order to see the Action dropdown, you actually need to put the action dropdown in your form - asd well as a whole lot of other required widgets. You can find these in a designer template at:

LiveCycleWorkflow7_SDK\Misc\Adobe LiveCycle Workflow Field.xfo

and documentation in Chapter 8 of "Designing Workflows".



Your second question is beyond the scope of a simple reply. It is possible, but it's not trivial. Let's take it offline.



Howard



Howard Treisman

Avoka Technologies

Specializing in Custom QPAC development and LiveCycle Solutions

http://www.avoka.com/avoka/qpac_library.shtml

Avatar

08-11-2005

Thanks Howard,



We are facing one more problem at the time of submitting the Form it is not going to second user and our workflow is getting stalled showing error

"java.lang.NoClassDefFoundError: com/adobe/workflow/datatype/FormDataTypeInstanceImpl

at com.adobe.workflow.qpac.user.UserService.execute(UserService.java:221)"

we tried to locate "FormDataTypeInstanceImpl" and we find that the exact path of file is "com/adobe/workflow/datatype/forms/FormDataTypeInstanceImpl"

any suggestion.

Avatar

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
HowardTreisman
Level 9

09-11-2005

Hi

Well, the exception says that the class is missing from your classpath.

The file should be in C:\Adobe\LiveCycle\jboss\server\all\deploy\LiveCycle.ear, in a sub-jar called adobe-wkf.jar (which is the main workflow jar file).



I'd check whether this class exists in this jar. If it's not there, it's a bit of a mystery. My only suspicion is that Workflow wasn't installed correctly. I'd try re-installing, but given that the workflow designer runs okay, it seems very weird.



If it is there, then it may be some sort of classloader issue. Just a guess, but it may be something to do with the version of Java. I'm running JDK 1.4.2_8, and I've never encountered this problem.



Sorry I can't be of more help...



Howard

Avatar

09-11-2005

Thanks Howard,



For your reply. We solved this problem earlier we were using an old version of QPAC but we got new set of QPAC and now it is refering to proper class.

Avatar

09-02-2006

Hi,

We are facing a challenge in implementing the following logic in WorkFlow.



We need to have an id/counter which will be 4 digit,so the maximum value it can take is 9999 after which the id should be reset to 0.Then the id again starts from 1.



This id should be prepopulated in the form,like a form id, once it is open via Form manager.



How can we approach for this to be implemented in Work flow?

Avatar

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
HowardTreisman
Level 9

14-02-2006

Hi



There's no way I've ever found to pre-populate the initial form that you use to kick off a workflow. The only thing I've found that works is to use a dummy form to kick off the workflow, and tell the users to check their worklist after start it. Then in the workflow, calculate the values you need, and insert them into the form.



For your counter, you should be able to get away with a SQL qpac to get the next number, although there are some issues with concurrency. If you need a special QPAC written, let us know.



Howard

www.avoka.com

Avatar

28-03-2006

You might want to try and link your form itself to a webservice that fires when the form first loads to pre-populate the form with whatever you want. I believe that there is an example of this for pre-populating the username in a form for the first form.

Avatar

19-05-2006

Or you can use ADBC to connect directly to a database and retrieve info. One annoying issue I have with this is that if your form gets data from a web service or database, it will throw a security warning about the extra data source when you attempt to submit it to the Workflow Server.