Page 1 of 1

Recognize the different stages of validation of a workflow

PostPosted:Wed Feb 26, 2020 4:02 pm
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?

Re: Recognize the different stages of validation of a workflow

PostPosted:Mon Mar 09, 2020 9:03 am
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?

Re: Recognize the different stages of validation of a workflow

PostPosted:Fri Mar 13, 2020 8:28 am
by jllort
What do you mean when talking about sender. The person who initiated the workflow or the user assigned in the previous task?

Re: Recognize the different stages of validation of a workflow

PostPosted:Fri Mar 13, 2020 9:02 am
by kouadio
Hear by sender the person who initiated the workflow

Re: Recognize the different stages of validation of a workflow

PostPosted:Fri Mar 20, 2020 8:26 am
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.

Re: Recognize the different stages of validation of a workflow

PostPosted:Fri Mar 20, 2020 9:30 am
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?

Re: Recognize the different stages of validation of a workflow

PostPosted:Tue Mar 24, 2020 1:05 pm
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.

Re: Recognize the different stages of validation of a workflow

PostPosted:Tue Mar 24, 2020 1:41 pm
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.

Re: Recognize the different stages of validation of a workflow

PostPosted:Wed Mar 25, 2020 7:54 am
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.

Re: Recognize the different stages of validation of a workflow

PostPosted:Wed Mar 25, 2020 9:20 am
by kouadio
Professional support interests me, what should I do?

Re: Recognize the different stages of validation of a workflow

PostPosted:Thu Mar 26, 2020 7:39 am
by pavila
Please, use this contact form at https://www.openkm.com/en/contact.html

Regards.