• Search

  • Search it up!

Search found 190 matches

 Go to advanced search

Re: Upload and Download Form Element In Workflow

 by alexwgordon ¦  Thu Oct 01, 2015 2:47 am ¦  Forum: Configuration ¦  Topic: Upload and Download Form Element In Workflow ¦  Replies: 45 ¦  Views: 17915

From FileUploadServlet.java line 304 says

Code: Select all
Document doc = OKMDocument.getInstance().getProperties(null, path);

The value I get when I run my workflow is
Code: Select all
folderPath=/okm:root

Re: Upload and Download Form Element In Workflow

 by alexwgordon ¦  Tue Sep 29, 2015 12:51 am ¦  Forum: Configuration ¦  Topic: Upload and Download Form Element In Workflow ¦  Replies: 45 ¦  Views: 17915

Hi Jllort, Yup, I'm using 6.3 Portable Dev. I edited the FileUploadServlet.java withe the code. Here are the results. 2015-09-28 20:46:28,935 [http-bio-127.0.0.1-8080-exec-2] WARN org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog- Narrowing proxy to class org.jbpm.graph.node.TaskNode - th...

Re: Upload and Download Form Element In Workflow

 by alexwgordon ¦  Thu Sep 24, 2015 5:17 pm ¦  Forum: Configuration ¦  Topic: Upload and Download Form Element In Workflow ¦  Replies: 45 ¦  Views: 17915

In the catalina.log, I don't specifically see an error which is confusing. 2015-09-24 10:12:38,490 [http-bio-127.0.0.1-8080-exec-8] INFO com.openkm.servlet.WorkflowRegisterServlet- Deploying process archive: dummy.par 2015-09-24 10:12:38,538 [http-bio-127.0.0.1-8080-exec-8] WARN org.jbpm.jpdl.xml.Jp...

Re: Upload and Download Form Element In Workflow

 by alexwgordon ¦  Tue Sep 22, 2015 1:14 am ¦  Forum: Configuration ¦  Topic: Upload and Download Form Element In Workflow ¦  Replies: 45 ¦  Views: 17915

Hi jllort, So with the check enabled, I get "file name is different" With the check disabled, I get "OKM-005015" which is the upload error and path not found. I initially saw that my path was set to "/okm:root/file.pdf" so I tried explicitly setting it as "/okm:roo...

Re: Upload and Download Form Element In Workflow

 by alexwgordon ¦  Thu Sep 10, 2015 4:35 pm ¦  Forum: Configuration ¦  Topic: Upload and Download Form Element In Workflow ¦  Replies: 45 ¦  Views: 17915

Hi jllort, Thanks for the clarification! However, I'm not having issue with a creation of the document. I'm only having issue with an "update." It always seems to say that the "Document name is different." For the life of me I can't figure out what's causing that issue. Thanks jl...

Re: Upload and Download Form Element In Workflow

 by alexwgordon ¦  Tue Sep 08, 2015 3:05 pm ¦  Forum: Configuration ¦  Topic: Upload and Download Form Element In Workflow ¦  Replies: 45 ¦  Views: 17915

Hi jllort, Thanks for the reply! So the folder will be dynamic since (at least as I have it right now) the user will update the file wherever it was originally uploaded. 1. Is `data="dynamic"` a set value that needs to be used or is that a variable that you're calling in an ActionHandler f...

Upload and Download Form Element In Workflow

 by alexwgordon ¦  Fri Sep 04, 2015 5:50 pm ¦  Forum: Configuration ¦  Topic: Upload and Download Form Element In Workflow ¦  Replies: 45 ¦  Views: 17915

Hi Guys, So I'm a little confused on the implementation of the Upload and Download form elements in a workflow. It is required to create a new class that can handle this operation or is there a class that I'm not seeing already provided? I've seen this post http://forum.openkm.com/viewtopic.php?t=10...

Re: SOLVED Workflow Extract Process Variable Value

 by alexwgordon ¦  Fri Sep 04, 2015 5:37 pm ¦  Forum: Configuration ¦  Topic: SOLVED Workflow Extract Process Variable Value ¦  Replies: 3 ¦  Views: 1817

Also works! Thanks jllort!

Re: Setting users with role as <select> field options

 by alexwgordon ¦  Fri Sep 04, 2015 4:46 pm ¦  Forum: Configuration ¦  Topic: SOLVED Setting users with role as <select> field options ¦  Replies: 3 ¦  Views: 1954

Ah of course. I should have proofread that code better! Thanks jllort :) Got this one solved as well now! Simple switch to getUsersByRole(null,"ROLE"). But the class had to be compiled with OpenKM for some reason and wouldn't let me build it as a workflow java file. I'm assuming because it...

SOLVED Setting users with role as <select> field options

 by alexwgordon ¦  Thu Sep 03, 2015 6:35 pm ¦  Forum: Configuration ¦  Topic: SOLVED Setting users with role as <select> field options ¦  Replies: 3 ¦  Views: 1954

Hi Guys, So I'm trying to create a dynamic <SELECT> dropdown field in a workflow form. I want it to show the all users with the ROLE of "REVIEWER". I was looking at the forums and reading documentation in hopes to figure this out on my own. I saw this post http://forum.openkm.com/viewtopic...

SOLVED Workflow Extract Process Variable Value

 by alexwgordon ¦  Thu Sep 03, 2015 6:09 pm ¦  Forum: Configuration ¦  Topic: SOLVED Workflow Extract Process Variable Value ¦  Replies: 3 ¦  Views: 1817

Okay in case anyone else is new to Java and didn't get this, this is what I ended up doing. It was crazy simple, so apologies to everyone! package com.openkm.workflow.Approval2; import org.jbpm.graph.def.ActionHandler; import org.jbpm.graph.exe.ExecutionContext; import com.openkm.bean.form.Select; p...

SOLVED Workflow Extract Process Variable Value

 by alexwgordon ¦  Wed Sep 02, 2015 2:11 am ¦  Forum: Configuration ¦  Topic: SOLVED Workflow Extract Process Variable Value ¦  Replies: 3 ¦  Views: 1817

Hi Guys, I'm trying to create a workflow that assigns tasks to users and I'm stuck at a part with the "Select" field (dropdown) in the form element. Basically the user who is assigned the original task will then pass the task off to someone else using the Select field (dropdown). How can I...

Re: Create Metadata in Workflow - Exercise 8

 by alexwgordon ¦  Tue Sep 01, 2015 5:35 pm ¦  Forum: Configuration ¦  Topic: Create Metadata in Workflow - Exercise 8 ¦  Replies: 29 ¦  Views: 22741

Yes, I'm using the portable dev. The screenshot I posted before was from the default workflows that came with the portable dev and I hadn't changed anything about it. After creating a new jBPM 3 definition of my own, everything seemed to be okay. I checked the .classpath of the "workflow-course...

Re: Create Metadata in Workflow - Exercise 8

 by alexwgordon ¦  Thu Aug 27, 2015 7:52 pm ¦  Forum: Configuration ¦  Topic: Create Metadata in Workflow - Exercise 8 ¦  Replies: 29 ¦  Views: 22741

Lowercase makes no difference

Screen Shot 2015-08-27 at 12.51.35.png
Screen Shot 2015-08-27 at 12.51.35.png (39.66 KiB) Viewed 8947 times

Re: Create Metadata in Workflow - Exercise 8

 by alexwgordon ¦  Mon Aug 24, 2015 4:16 pm ¦  Forum: Configuration ¦  Topic: Create Metadata in Workflow - Exercise 8 ¦  Replies: 29 ¦  Views: 22741

Code: Select all
import org.jbpm.graph.exe.ExecutionContext;
import org.jbpm.taskmgmt.def.AssignmentHandler;
import org.jbpm.taskmgmt.exe.Assignable;
these are the ones that seem to be missing from the ActorAssigment.java from exercise 7.

  • 1
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.