Recognize the different stages of validation of a workflow

Nous essayons de faire OpenKM aussi intuitif que possible, mais tout avis est bienvenu.

Moderator: dedisoft

Forum rules
Avant de poser une question, merci de regarder la documentation du wiki ou d'utiliser la fonction recherche du forum. Et rappelez vous que nous n'avons ni boule de cristal ni possibilité de lire dans les pensées, aussi pensez à spécifier quelle version d'OpenKM vous utilisez ainsi que la version du navigateur web et du système d'exploitation. Pour de plus amples informations lisez Comment reporter un bug efficacement (anglais).
Post Reply
kouadio
Senior Boarder
Senior Boarder
Posts: 73
Joined: Wed Jan 09, 2019 9:26 am

Recognize the different stages of validation of a workflow

Post by kouadio »

I use the Community development environment and have a workflow that can be run and sent by multiple users. When the recipients receive the workflow, how can they know the sender? As a standard users, can they know the validation chain of the workflow?

kouadio
Senior Boarder
Senior Boarder
Posts: 73
Joined: Wed Jan 09, 2019 9:26 am

Re: Recognize the different stages of validation of a workflow

Post by kouadio »

I use the Community development environment and have a workflow that can be run and sent by multiple users. When the recipients receive the workflow, how can they know the sender? As a standard users, can they know the validation chain of the workflow?

jllort
Moderator
Moderator
Posts: 11204
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Recognize the different stages of validation of a workflow

Post by jllort »

What do you mean when talking about sender. The person who initiated the workflow or the user assigned in the previous task?

kouadio
Senior Boarder
Senior Boarder
Posts: 73
Joined: Wed Jan 09, 2019 9:26 am

Re: Recognize the different stages of validation of a workflow

Post by kouadio »

Hear by sender the person who initiated the workflow

pavila
Moderator
Moderator
Posts: 3077
Joined: Tue Dec 11, 2007 6:02 pm
Location: Alicante, Spain
Contact:

Re: Recognize the different stages of validation of a workflow

Post by pavila »

There is a special swimlane called initiator, which holds the user who started the workflow. This is usually used to assign a task in the same process instance, I mean, a task that need to be assigned to the user who started the workflow and only to him.

Regards.

kouadio
Senior Boarder
Senior Boarder
Posts: 73
Joined: Wed Jan 09, 2019 9:26 am

Re: Recognize the different stages of validation of a workflow

Post by kouadio »

Thank you for your assistance however apparently, I did not make myself understood. Here is an example of my work flow from user01 to user05 below. When user04 receives the task, how can he know that the initiator is user01 and that the workflow has been validated by user02 and user03?
Attachments
Workflow path.PNG
Workflow path.PNG (3.87 KiB) Viewed 25959 times

pavila
Moderator
Moderator
Posts: 3077
Joined: Tue Dec 11, 2007 6:02 pm
Location: Alicante, Spain
Contact:

Re: Recognize the different stages of validation of a workflow

Post by pavila »

You have two options:

1.- Create a table and store there the assigments of the tasks. This implies you have implemented an AssignmentHandler.

2.- Make a call to WorkflowUtils.findLogsByProcessInstance(long) from an ActionHandler and add to the workflow.

Not sure which option is the better one because depends on your workflow.

kouadio
Senior Boarder
Senior Boarder
Posts: 73
Joined: Wed Jan 09, 2019 9:26 am

Re: Recognize the different stages of validation of a workflow

Post by kouadio »

Thank you for your response but frankly, I do not understand much in your recommendations. I would like that before validating a task, the user knows who are the stakeholders of the workflow and especially who is the initiator.

pavila
Moderator
Moderator
Posts: 3077
Joined: Tue Dec 11, 2007 6:02 pm
Location: Alicante, Spain
Contact:

Re: Recognize the different stages of validation of a workflow

Post by pavila »

You need to implement a class in Java to get this information. I cannot be more specific unless spend some time implementing it and this is out of the scope for this kind of support. But you can always contact us for professional support.

Regards.

kouadio
Senior Boarder
Senior Boarder
Posts: 73
Joined: Wed Jan 09, 2019 9:26 am

Re: Recognize the different stages of validation of a workflow

Post by kouadio »

Professional support interests me, what should I do?

pavila
Moderator
Moderator
Posts: 3077
Joined: Tue Dec 11, 2007 6:02 pm
Location: Alicante, Spain
Contact:

Re: Recognize the different stages of validation of a workflow

Post by pavila »

Please, use this contact form at https://www.openkm.com/en/contact.html

Regards.

Post Reply