Hello
Is there any possibility to cutomize emails sent in case of workflow tasks to contain not a link to a document but a link to the workflow task (meaning that the link in the email sent the user to the task in his dashboard)?
My environment
Server:
VMWare 12 Pro
Memory 12 GB
1 proc - 4 cores
Centos 7 Server
PostgreSQL 9.2.18
OpenKM 6.3.4
Dev PC:
VMWare 12 Pro
Memory 8 GB
1 proc - 4 cores
Ubuntu 16.04
java 1.6
JBoss Developer Studio 5.0.0.GA - installed according to https://docs.openkm.com/kcenter/view/wf ... io-5x.html (jbdevstudio-product-universal-5.0.0.v20120615-1714-H213-GA.jar + jbpm-installer-3.3.1.GA.jar)
Many thanks in advance for your answer.
Petr Valenta
Link to a task instead to a document in an email sent by a workflow
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.
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.
-
- Senior Boarder
- Posts: 47
- Joined: Mon Mar 06, 2017 9:10 am
Link to a task instead to a document in an email sent by a workflow
Last edited by Petr_Valenta on Sun Aug 13, 2017 3:53 pm, edited 1 time in total.
-
- Moderator
- Posts: 11384
- Joined: Fri Dec 21, 2007 11:23 am
- Location: Sineu - ( Illes Balears ) - Spain
- Contact:
Re: Link to a task instead to a document in an email sent by a workflow
That means you want a link to follow the next task and open the next form, is that the idea ?
-
- Senior Boarder
- Posts: 47
- Joined: Mon Mar 06, 2017 9:10 am
Re: Link to a task instead to a document in an email sent by a workflow
Hello
I am not sure if we understand each other.
Nowaday when there is a running workflow and the task according to "Task Node" is generated, a mail with a link to the processed document is sent.
I would like to receive an email, which directs me directly into the task in the dashboard mentioned above. How could I achieve that?
Best Regards
Petr Valenta
I am not sure if we understand each other.
Nowaday when there is a running workflow and the task according to "Task Node" is generated, a mail with a link to the processed document is sent.
Now I have to go to OpenKM GUI by clicking on the document's link, go to a dashboard tab, open the workflow sub-tab and try to guess which task is that one, which contains the sent document.From: noreply@openkm.com
To: admin@xxxx.xx.xx
Subject: Task 'potvrdit' (281)
Date: Tue, 30 May 2017 13:49:55 +0200 (CEST)
Hi,
Task 'Potvrdit' (related to document http://xyz.xy:8080/OpenKM/index.jsp?uui ... 58e0c3ba7e) has been assigned to you.
Thanks.
I would like to receive an email, which directs me directly into the task in the dashboard mentioned above. How could I achieve that?
Best Regards
Petr Valenta
-
- Moderator
- Posts: 11384
- Joined: Fri Dec 21, 2007 11:23 am
- Location: Sineu - ( Illes Balears ) - Spain
- Contact:
Re: Link to a task instead to a document in an email sent by a workflow
You can open the workflow task directly with the parameter index.jsp?taskInstanceId=XXX ( you can take a look at Main.java class look for taskIntanceId variable and follow what happens when you set it ).
-
- Senior Boarder
- Posts: 47
- Joined: Mon Mar 06, 2017 9:10 am
Re: Link to a task instead to a document in an email sent by a workflow
This is not working - it sends me into the Tab Desktop, into the root folder.
I'm using Id showed in the tab Dashboard, Workflow, TASK detail.
I'm using Id showed in the tab Dashboard, Workflow, TASK detail.
-
- Senior Boarder
- Posts: 47
- Joined: Mon Mar 06, 2017 9:10 am
Re: Link to a task instead to a document in an email sent by a workflow
This is not working - it sends me into the Tab Desktop, into the root folder.
I'm using Id showed in the tab Dashboard, Workflow, TASK detail.
I'm using Id showed in the tab Dashboard, Workflow, TASK detail.
-
- Moderator
- Posts: 11384
- Joined: Fri Dec 21, 2007 11:23 am
- Location: Sineu - ( Illes Balears ) - Spain
- Contact:
Re: Link to a task instead to a document in an email sent by a workflow
You must set the right taskInstanceId and must be assigned to you, otherwise will not jump to dashboard. If it does not going right to you, should debug de code.
- Take a look at Main.java ( line 143 )
- StartUp.java ( line 354
and follow the code
- Take a look at Main.java ( line 143 )
- StartUp.java ( line 354
and follow the code