Modeler 6.6.0 - user task link to be sent by mail when task is assigned

Hi Team,

I have a query does Flowable support mail notification with link when task is assigned to user. Or is there any way to achieve it;
Steps:-

  • when app is published, and we create task by assigning to one assignee( suppose A).
  • A should get a mail notification with link for the task. on clicking on the link; A can fill the form.

Thanks in advance.

regards,
Bibek

Hi @bibekguptab7

Does this post contain relevant info?

Regards,

Yvo

Hi Yvo,
Thanks for helping… but here I also want to url for the specific task.
for eg:- I create a userTask name- “login page”, I want to get the url which will directly redirect me to that task and ask me to put the credentials; Instead of me opening the flowable app and going to task to see the task assigned to me.

regards,
Bibek

Hi @bibekguptab7

You have complete control over what the contents of the email (that will be sent from within the event listener) will be.
So you can construct an url that will resolve in a view for a specific task;

http://[host:port]/flowable-ui/workflow/#/task/[taskId]

or for a specific app;

http://[host:port]/flowable-ui/workflow/#/apps/[appName>]/task/[taskId]

for example in my case;

http://localhost:8080/flowable-ui/workflow/#/apps/testApp/task/4d3a65e7-53de-11eb-8110-0242ac110003

Hope this helps.

Yvo

Hi @yvo,

I am new to flowable, quick thing how to get task id. Is ID in task property is task id??
please refer below image.

regards,
Bibek

You need the ‘runtime’ id; delegateTask.getId()
You will have access to this in the implementation of the task listener.

notify(DelegateTask delegateTask)

Yvo

1 Like