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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Form URL

Avatar

Level 4
Hi,



Please give me a piece of advice: I'm trying to initiate workflow by e-mail. Unfortunately it doesn't work and I get message to console window:



SEVERE: can't process mailmessage from: xxx, subject: xxx,

exception You must provide a Form URL to CreateTask

com.adobe.workflow.task.TaskManagerException: ...



Where should I provide the Form URL? In .pdf that generates e-mail or in workflow?



Thanks,

--- Jaroslav
0 Replies

Avatar

Not applicable
Have you set up an init form in your workflow. Sounds like this could be the problem.



Chris

Adobe Enterprise Developer Support

Avatar

Not applicable
Hello -



Yes, it sounds like the workflow that you are trying to invoke does not have an init-form specified. This is required for email invoke. For more info please see this thread:




Valerie Snider-Lynch, "Init a workflow with an email" #5, 23 Mar 2006 10:10 am



Will

Avatar

Level 4
Thank You for answers.<br />Unfortunatelly there has to be something else wrong. I have init-form set up. Everything works well when I submit form from Form manager web page. Also user actions works, so users can reply to forms sent to them. But why the first form doesn't work?<br />Is there problem on side of sent xml or wrong workflow?<br /><br />This is the .xml:<br /><br /><?xfa generator="XFA2_0" APIVersion="2.2.4333.0"?><br /><xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"><br /><xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"><br /><xfa:data><br /> <fields><br /> <txtName>Jaroslav</txtJmeno><br /> <AWS_TASKID/><br /> <AWS_MAILTO>livecycle@sandbox.etech.adobe.com</AWS_MAILTO><br /> <AWS_CHOICE/><br /> <AWS_ASSIGNED_ID/><br /> <AWS_ACTION/><br /> <AWS_PROCESSTYPE>zvyseni_platu</AWS_PROCESSTYPE><br /> </fields><br /></xfa:data><br /></xfa:datasets><br /><pdf href="../../../../../Documents and Settings/jara/Dokumenty/plat_zadost.pdf" xmlns="http://ns.adobe.com/xdp/pdf/"/><br /><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><br /><annots/><br /></xfdf><br /></xdp:xdp><br /><br />And this is a log message:<br />22:48:54,687 INFO [STDOUT] 9.5.2006 22:48:54 com.adobe.workflow.email.InboxReader logFailedToProcessMessage<br />SEVERE: can't process mailmessage from: Rebecca Stevens <rstevens@sandbox.etech.adobe.com>, subject: form: exception You must provide a Form URL to CreateTask com.adobe.workflow.task.TaskManagerException: You must provide a Form URL to CreateTask<br />22:48:54,703 INFO [STDOUT] com.adobe.workflow.task.TaskManagerException: You must provide a Form URL to CreateTask<br />22:48:54,703 INFO [STDOUT] at com.adobe.workflow.task.TaskManagerBean.createTask(TaskManagerBean.java:524)<br /><br />I'm going to disassemble java classes ... :-)<br /><br />--- Jaroslav

Avatar

Level 9
Hi

I know this doesn't directly solve your problem, but if you're interested in an alternative way of achieving a similar result, you might want to use EmailReceiver to do the job.



An example is posted here:

http://www.avoka.com/samples/_EmailReceiver/



Regards,

Howard

Avatar

Not applicable
Hello -



is there any chance that the init-form you specified does not have a form url defined? What I mean is: Did you add an init form but not enter in a Form URL? The URL of the form should match where this form is located in the repository although it doesn't need to - it could be any unique string. This could cause the problem.



Will

Avatar

Not applicable
Hi,

Jaroslav, could you please do the following:

in Workflow Designer, rightclick the workflow in question, select
export workflow. Then, open the xml-file you just saved in a text editor of your choice and search for
formurl. Is it empty or doesn't exist?



Regards,

Steve



BTW: I highly recommend

Notepad 2
. 🙂 It offers syntax-highlighting for a heap of file-types including xml, java, html...

Avatar

Not applicable
hi

i want to add form in my weblog,but i dont know how (and where) can

i create a url which my form data send to it.



form name="input" action="???URL???" method="post">