I need to have a minimum of 2 approvers per article

Lbec
Tera Expert

Hello,
Good day!
I have the request that some knowledge articles, depending on the base, be approved when 2 approvers approve the request.
How can I do this? What part of the flow should I modify?

1 ACCEPTED SOLUTION

Yepp, we can achieve it.

As you are going to change the flow, before the approval we can have an {If else} activity which will check -
If(Field Set -> True)
{
Go for approval -> Include the script which I have suggested above & the remaining flow will be the same.
}
else{
It will go in the approval flow where code is not written.
}

After the approval from any one of them, it will have the same approval.

Cheers...!
Tushar 


Mark it as helpful or correct, If Applicable


Cheers..!

Happy Learning:)

Tushar

View solution in original post

6 REPLIES 6

eumak
Tera Guru

Hello @Lbec ,

Please try the below script in the condition for approval.
find_real_file.png

Mark it as helpful or correct, If Applicable

Cheers..!
Happy Learning:)
Tushar

Mark it as helpful or correct, If Applicable


Cheers..!

Happy Learning:)

Tushar

Hi @tushar, excuse my ignorance, where can I find that script?

Hello @Lbec 

If my understanding is correct, for a few of the knowledge you need a min of 2 members' approval to pass the approval flow. If you have to do like this you have to make changes in the workflow.


Go to the knowledge base -> open the required Workflow for publishing or retirement.
Open the workflow & Check for the approval activity(it is not recommended to change the flow of the default workflow).
Open the Activity & select the choice below & test your flow
find_real_file.png

Can you share which workflow you are trying to change where you are trying to add approvals & I can help you on that.

Cheers..!
Tushar

Mark it as helpful or correct, If Applicable


Cheers..!

Happy Learning:)

Tushar

Great thank you very much!
I consult you in case you would know, where you indicate me, that it is perfect, general arming for all the bases.
Is there any way that, for example, if there is a field set in the base to 'true', it needs 2 approvals and if it is set to 'false', only one is needed?
There in that script I have access to the fields of the article in question?