You are viewing limited content. For full access, please sign in.

Question

Question

Retrieve Form Fields returns "(404) Not found error

asked on February 18, 2016

Running Forms 10 and LF 9.2.  Forms and Workflow are both running on the same server.

Attempting to retrieve metadata from a form 'Employee Daily Work Report' and then ultimately store the data for each document as a csv and name the csv after the stored document name.

This is the error I get when i run it:

I am attempting to follow KB1013142.

First, verify that the Workflow Web Service is installed and that it is configured in the Workflow Configuration Manager.

In order for Workflow 9 to communicate with a Laserfiche Forms server, you must configure a Laserfiche Forms Web service in Workflow.

  1. Open the Workflow Administration Console.
  2. Under the appropriate Workflow Server, expand External Objects.
  3. Right-click on the Web Services node and click Add Web Service.
  4. In the Add Web Service dialog box, specify a display name in the Name option.
  5. In the Type drop-down list, select the Laserfiche Forms option.
  6. Next to URL specify the URL to the Laserfiche Forms Web service.
  7. Click OK.

This appears to work.

The second part of the article has information I cannot locate:

On the Laserfiche Forms Configuration page, add an entry for the appropriate Workflow Server.

  1. Open the Forms Configuration page and click Repository in the left navigation.
  2. On the Repository page in the Laserfiche Workflow Server option, enter the name of the machine hosting the Laserfiche Workflow Server you want Laserfiche Forms to use.
  3. Click Save.

After the above configuration is complete, you can then use the Laserfiche Forms Process Modeler to configure a Service Task of type Laserfiche Workflow.

I do not have Repository in the left navigation.  I do have a section under Laserfiche.  And this looks to be correct.

I have 4 documents in the Barcode Labor Tickets folder that I am trying to scan for the metadata.

Please help if you can.  I've about given up....

0 0

Replies

replied on February 18, 2016

Can you attach a screenshot of the properties for the Retrieve Laserfiche Forms Content activity?

In the Laserfiche tab on the Forms Configuration page, do you have the Workflow server set up?

0 0
replied on February 18, 2016

0 0
replied on February 18, 2016

Is this what you were inquiring about when you asked: In the Laserfiche tab on the Forms Configuration page, do you have the Workflow server set up?

I tried using the IP and the Server name as well.

0 0
replied on February 18, 2016

I removed the WorkflowID settings and now I am no longer getting the error.smiley

 

However, I am still not getting any metadata.  (If I am understanding this correctly.)

Might this message be a clue?

 

0 0
replied on February 18, 2016

The instance and submission ID would be Forms values, so %(WorkflowID) would definitely not be a value Forms would know about. And adding 85 to the end of it would not help. That's what the 404 was about.

The error in the warning happens when you have the activity's advanced properties set to "the instance that started this workflow" but start the workflow either manually from the Designer or through a starting rule.

How exactly does the "Employee Daily Work Report" form work? Do you need it processed by WF as it is submitted? Or do you expect to run one workflow at the end of the week to process all forms submitted that week?

0 0
replied on February 18, 2016 Show version history

Thank you for helping by the way.  The form is simple.

1)Operator fills data.  Submits form.

2) Operator manager reviews.  Submits form.

3) Boss gives final ok.  When boss submits, Forms saves the form in PDF  using the unique name assigned by Forms and all the metadata to the Repository.  All this works.

Next step, I was thinking of scheduling Workflow to scan the LF folder hourly for any new forms that were given final approval.  Then Workflow, upon finding file(s) would have data in forms extracted and save as a .csv file on the server with the csv given the same name as the particular file.    And then the data would be extracted from each form.  Not working yet.

Then form gets moved to a seperate "Processed" folder.  This too is already working.

EDIT: So, I'd like WF to process it as a document is submitted by Forms.

0 0
replied on February 19, 2016

Depending on whether you need to do something to the document Forms creates in Laserfiche or you just want the data processed, you have 2 options:

  1. Start the workflow with a document creation starting rule. Forms would have to write the instance ID and submission ID to fields. Workflow would read them and use them in the Advanced Properties of Retrieve Forms Content to get the right form.
  2. If the document is irrelevant for what you want to do in WF, you can start the workflow from a Forms Service Task. In that case, you would leave the Advanced Properties of Retrieve Forms Content to their defaults of "the instance that started this workflow" and Forms would pass that information in when in.
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.