Question

How to customize notifications for the [User task] process element

Hello,

I want to customize notifications for the [User task] process element, but it does not work: the expected notification does not appear.

This is the link where I saw how to do it : https://academy.bpmonline.com/documents/technic-sdk/7-12/how-customize-…

I attached the pictures of my work.

Thank you.

 

File attachments
Like 0

Like

3 comments

Please change return true; to return false; in the main script of the user task .

http://prntscr.com/juzmpl

Hello,

Thank you for your answer. It works.

However, I don't know how to make it disappear after being shown. In fact, is it possible to add a button to close it and terminate my process?

Actually, when I click on the notification, an error appear in the console. I attached the error picture.

Thank you.

 

if you don't specify anything that should happen after clicking on the notification what do you expect the system to show instead of the error?

The academy article just explains how to show the reminding. Everything else is expected to be written on c# and JavaSctipt by you. 

Please investigate how out-of-the-box user tasks works. It should help.

Show all comments