• Search

  • Search it up!

Search found 190 matches

 Go to advanced search

Re: SOLVED Workflow Remove Security Rights

 by alexwgordon ¦  Wed Oct 26, 2016 7:18 pm ¦  Forum: Configuration ¦  Topic: SOLVED Workflow Remove Security Rights ¦  Replies: 5 ¦  Views: 2726

In my case, resolving it that way works okay because the person who uploaded it will always be the one who starts the worfklow. However, your idea of grabbing the author is probably more safe! And actually in the end, I didn't grab the person who uploaded, I grabbed the person who started the workfl...

OpenKM Runs Workflow Upon Upload No Matter What

 by alexwgordon ¦  Wed Oct 26, 2016 12:34 am ¦  Forum: Configuration ¦  Topic: OpenKM Runs Workflow Upon Upload No Matter What ¦  Replies: 3 ¦  Views: 2421

Hi all, So I deployed a workflow that I had tested and was ready to bring to my production OKM. After a some production testing, I found some errors and decided to delete the workflow. Now even though there are no instances of the any workflows on my production unit, anytime I upload a file in any f...

Re: Cancel Workflow Button Gives Admin Error

 by alexwgordon ¦  Tue Oct 25, 2016 8:05 pm ¦  Forum: Configuration ¦  Topic: Cancel Workflow Button Gives Admin Error ¦  Replies: 6 ¦  Views: 3543

Hi jllort, Okay so seems that it doesn't work all of a sudden. I'm not sure what changed and it isn't working with the forceCancelCheckout. My ActionHandler looks like this: package com.openkm.workflow.approval; import org.jbpm.graph.def.ActionHandler; import org.jbpm.graph.exe.ExecutionContext; imp...

Re: Workflow Remove Security Rights

 by alexwgordon ¦  Mon Oct 24, 2016 10:45 pm ¦  Forum: Configuration ¦  Topic: SOLVED Workflow Remove Security Rights ¦  Replies: 5 ¦  Views: 2726

Nevermind, I have a x-post here that shows how to determine the current user in the workflow here: http://forum.openkm.com/viewtopic.php?f=4&t=20902 And then I ended up using regex to find the initial uploader using the following code (it's sloppy, but works fine as long as the user who uploaded...

Re: Find Active Task Owner

 by alexwgordon ¦  Mon Oct 24, 2016 10:41 pm ¦  Forum: Configuration ¦  Topic: SOLVED Find Active Task Owner ¦  Replies: 10 ¦  Views: 6685

This works perfectly! Thank you so much pavila!

Re: Workflow Form Element SOMETIMES Required

 by alexwgordon ¦  Mon Oct 24, 2016 7:00 pm ¦  Forum: Configuration ¦  Topic: Workflow Form Element SOMETIMES Required ¦  Replies: 2 ¦  Views: 1663

I ended up doing that, but it just adds an extra step and doesn't allow you to cancel a workflow at every step which isn't the worst solution in the world.

Re: Cancel Workflow Button Gives Admin Error

 by alexwgordon ¦  Mon Oct 24, 2016 6:34 pm ¦  Forum: Configuration ¦  Topic: Cancel Workflow Button Gives Admin Error ¦  Replies: 6 ¦  Views: 3543

Ah! I did not know that. That's perfect. Worked exactly as you said. Thanks, jllort! :D

Cancel Workflow Button Gives Admin Error

 by alexwgordon ¦  Fri Oct 21, 2016 8:03 pm ¦  Forum: Configuration ¦  Topic: Cancel Workflow Button Gives Admin Error ¦  Replies: 6 ¦  Views: 3543

Hi all, I'm working on a workflow and I have it working on my test environment, but I realized the two users I was using both had admin rights. So when I try to use the Cancel button in my workflow, it ends the workflow and cancels any checkout on the current file if there is one. However, on my pro...

Re: Workflow Remove Security Rights

 by alexwgordon ¦  Fri Oct 21, 2016 4:27 pm ¦  Forum: Configuration ¦  Topic: SOLVED Workflow Remove Security Rights ¦  Replies: 5 ¦  Views: 2726

Thanks jllort! This works quite well for granting and revoking privileges for a specific user! Do you know how could I determine who started the workflow initially/how can I find the initiator of the workflow and assign them to that API call? I want to revoke that specific users privileges. Thank yo...

SOLVED Workflow Remove Security Rights

 by alexwgordon ¦  Wed Oct 19, 2016 1:11 am ¦  Forum: Configuration ¦  Topic: SOLVED Workflow Remove Security Rights ¦  Replies: 5 ¦  Views: 2726

Hi all, Is there a way to somehow remove security rights through a workflow? Basically I want to have a approval workflow and at the end the initial user only will have read permissions on the file they originally uploaded. So the workflow looks like this: user1 uploads file -> user2 approves file -...

Workflow Form Element SOMETIMES Required

 by alexwgordon ¦  Wed Oct 19, 2016 1:01 am ¦  Forum: Configuration ¦  Topic: Workflow Form Element SOMETIMES Required ¦  Replies: 2 ¦  Views: 1663

Hi all, Is there a way to make a field (a selection field for example) required only if certain buttons are pressed? For example, I have a workflow where I want to require a dropdown that is a list of users only when I click "next" and not when I click "cancel". Is there a way to...

Re: Find Active Task Owner

 by alexwgordon ¦  Sat Jul 16, 2016 4:49 pm ¦  Forum: Configuration ¦  Topic: SOLVED Find Active Task Owner ¦  Replies: 10 ¦  Views: 6685

Hi all! so I still haven't found a resolution for this? Does anyone have any ideas for how to accomplish this? It seems like

Code: Select all
executionContext.getTaskInstance().getActorId();
should be working, but it never returns a value.

Thanks all!

Re: Find Active Task Owner

 by alexwgordon ¦  Tue Jul 05, 2016 9:12 pm ¦  Forum: Configuration ¦  Topic: SOLVED Find Active Task Owner ¦  Replies: 10 ¦  Views: 6685

Hi jllort, So I looked at the link you sent and all that makes sense, but I'm not sure if I'm missing how to actually pull the actor's name out. I basically want to assign their name to a variable if possible. But using something like executionContext.getContextInstance().getVariable("Assigned ...

SOLVED Find Active Task Owner

 by alexwgordon ¦  Wed Jun 29, 2016 11:35 pm ¦  Forum: Configuration ¦  Topic: SOLVED Find Active Task Owner ¦  Replies: 10 ¦  Views: 6685

Hi all, While in a workflow, I'm trying to figure out how to assign the current user of a task to a variable and I'm just not sure how to pull it out. Basically I have a task that is initially assigned to a pooled actor group then once a person assigns that task to themselves, I want to assign that ...

Export Workflow from OpenKM

 by alexwgordon ¦  Tue Jun 28, 2016 12:21 am ¦  Forum: Configuration ¦  Topic: Export Workflow from OpenKM ¦  Replies: 1 ¦  Views: 1713

Hi all!

Does anybody know if there is a way to export a workflow that is currently in OpenKM? I have an old version of a workflow that works quite well and I'd like to bring it over to another instance of OpenKM. Any advice would be greatly appreciated! Thanks!

  • 1
  • 3
  • 4
  • 5
  • 6
  • 7
  • 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.