Hi

We're facing the requirement from an internal auditing team that we've to provide a way to show the history of tasks. they want to be able to see the complete dialog(s) of the task (of course in read-only mode without some of the controls (save-button, etc.))

as i can see in the JSF Workflow UI Project, there is a "archive" button on the Task-History page. but we couldn't find any information on how to save/store such archive-pages?

or ar there any other best-practices to handle such requirements?

Thanks for your input

Philipp

asked 08.04.2015 at 17:20

Philipp's gravatar image

Philipp
(suspended)
accept rate: 0%


The "Page/Form Archive" only works for the "old" Html Pages. See Process Element "Web Page" -> Inscription -> Dialog -> "Form archive"

link

answered 09.04.2015 at 16:33

Christian%20Strebel's gravatar image

Christian St... ♦
3.2k31338
accept rate: 88%

Ah that explains it :-)

And is it correct, that there is no (reasonable) way of re-open/start a task, that has already been finished?

(09.04.2015 at 17:54) Philipp Philipp's gravatar image

Yes, if a task is done, there is now way to re-start.

(22.04.2015 at 14:23) Christian St... ♦ Christian%20Strebel's gravatar image

Hi Philipp,

I had the same request. I solved the Problem by overwriting the Archive Function in WfUi.

I created a new Project with a callable sub process with the Input parameter of Icase and I task. In this process I first check the process code to know which Dialog I have to start. Depending on the ivy project I want to show the dialog from, I get the data of the case or task via ivy api.

after I got the process data I start the dialogs with a userdialog step in the process.

Here the code snippet to get the processdata of a task.

if (in.data.tmpTask.getState().name().toLowerCase()=="done")
{
    data=in.data.tmpTask.getEndProcessData() as ForeignInvestData;
}
else
{
    data=in.data.tmpTask.getStartProcessData() as ForeignInvestData;

}

best regards

Roland

link

answered 10.04.2015 at 05:44

roland's gravatar image

roland
(suspended)
accept rate: 41%

edited 12.05.2015 at 11:51

Dominik%20Regli's gravatar image

Dominik Regli ♦
(suspended)

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×147
×68

Asked: 08.04.2015 at 17:20

Seen: 2,378 times

Last updated: 12.05.2015 at 11:51