• Task Instance name-workflow

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #13917  by rafal
 
Hello
I'm beginner of OpenKM. I'm creating workflow which send a mail. But in mail shuld be name of user, of task etc. Mail is sending but I' dont have any of this information. Could you tell what I'm doing wrong?
Code below:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<process-definition  xmlns="urn:jbpm.org:jpdl-3.2"  name="mail2">
	<start-state name="start-state1">
		<transition to="task-node1"></transition>
		<event type="task-start">
	<action name="Task_start" class ="TaskInstance.class"/>	
			<script>
			TaskInstance.start();
			</script>
			</event>
	</start-state>
	<task-node name="task-node1">
	<task name="Submit">
	<assignment actor-id="rafal"></assignment>
	<controller></controller>	
	</task>
		<transition to="mail-node1"></transition>
	</task-node>	
	<mail-node name="mail-node1" to="mail account">
	<subject>#{TaskInstance.actorId}</subject>
	<text>test</text>
		<transition to="end-state1"></transition>
	</mail-node>
	<end-state name="end-state1"></end-state> </process-definition>


 #13964  by pavila
 
Please, can you attach the whole Eclipse project in a zip archive?
 #13971  by rafal
 
Hier is my project. It is just a test which I want expand I use in another project.
Attachments
(16.29 KiB) Downloaded 212 times
 #14001  by pavila
 
In order to deploy the workflow correctly you need to go to Deployment tab and fill:

1.- Graphical Info File
2.- Image File
3.- Add the forms.xml file in Additional Files
Attachments
Selection_030.png
Selection_030.png (42.99 KiB) Viewed 2857 times
 #14045  by pavila
 
What is the problem? Any error? The workflow does not work as expected?
 #14049  by rafal
 
Ther is no error in logs, but when it send an email in subjet is nothing. There should be an actorId. What am I doing wrong?
 #14058  by pavila
 
There is any error in the log file? I mean $JBOSS_HOME/server/default/server.log

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.