We're updating the issue view to help you get more done. 

Define the workflow approver dynamically

Description

Currently, the WF defines the approver in a fixed, static manner, allowing a given activity to be approved by a specific user or by some user of a specific role.
We have documents where there can be more than one approver for the same activity or the approver doesn't fit into the existing possibilities (Invoker, Organization, Role).
Therefore, we need to improve the definition of the approver, allowing the creation of rules, where the approver will be defined dynamically.

Improvement points:

  • Workflow Responsible (AD_WF_Responsible.ResponsibleType)
    Implement a new type, which will be used to inform that the approver will be defined dynamically.

  • Document Status (PA_DocumentStatus.WhereClause) and Class WWFActivity.ResponsibleType()
    Include one more condition on the where clause, so that activities are displayed according to the created rule.

Environment

None

Status

Assignee

Guilherme Francisco Chaddad Rufino

Reporter

Alex Albuquerque

Labels

None

Tested By

None

Components

Affects versions

4.1

Priority

Minor