cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo Workflow: How can I add a confirmation pop-up to a task button?

Shankar_Rasiah
Confirmed Champ
Confirmed Champ

How can I add a confirmation pop-up (Yes/No) to 'Task Buttons' in Nuxeo workflow to prevent accidental task completion?

1 ACCEPTED ANSWER

Josh-F-Hyland
Employee
Employee

The configurable way would be to use task validation. I.e. you could add a "are you sure?" checkbox to the task layout and only complete the task if the underlying variable is true.

For customization, you can override the nuxeo-tasks element, thus you can replace the content with whatever you want. Please note that only certain elements of WebUI may be overridden. They must be "unvulcanized" (vulcanization is a build process that combines resources to make things more efficient). We've left some elements unvulcanized (nuxeo-home, nuxeo-tasks) so that they can be easily overridden.

--
Hyland Sales Solution Engineer

View answer in original post

2 REPLIES 2

Josh-F-Hyland
Employee
Employee

The configurable way would be to use task validation. I.e. you could add a "are you sure?" checkbox to the task layout and only complete the task if the underlying variable is true.

For customization, you can override the nuxeo-tasks element, thus you can replace the content with whatever you want. Please note that only certain elements of WebUI may be overridden. They must be "unvulcanized" (vulcanization is a build process that combines resources to make things more efficient). We've left some elements unvulcanized (nuxeo-home, nuxeo-tasks) so that they can be easily overridden.

--
Hyland Sales Solution Engineer

Thank you! I tried using an action filter to disable a button, but it didn't work. Ultimately, I had to override nuxeo-tasks and nuxeo-document-task.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.