Skip to Content
1

How to skip first stage in MSMP when approvers are same

Feb 05 at 05:29 AM

94

avatar image

Hello Experts,

In our scenario, MSMP workflow has up to 3 stages of approval and the risk mitigation is done in the 2nd stage.

There are cases where the first and second approver is the same person.

How can we skip the first stage in such cases?

Thank you in advance for any insight.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Alessandro Banzer
Feb 05 at 12:28 PM
1

Theresa,

it's possible with BRFPlus and the use of routing rules. You might need to change your current design so that this is possible. If manager is the first stage, then add a routing rule that gets called when the manager approved. If the role owner (second stage) is the same, you can route the request to another path. That path would then be e.g. security stage. Since you are having a second path, you also need a routing at the end of the role owner (second stage) to route to your security folks.

Hope that gives you an idea of how to design it.

Regards, Alessandro

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Alessandro,

Thanks for your always prompt help.

We are already using BRFPlus for the initiator rule based on the request type and standard routing rules for some stages.

However, since the risk mitigation is mandatory only in the second stage, then the first stage should be skipped in case of same approver. In MSMP terms: if the approvers are different, then the path should have Manager and Role Owner; if the approvers are the same, then the path should have only Role Owner.

Anyways, how did you compare the Manager and Role Owner, please?

Thank you again.
Regards, Theresa

0
Alessandro Banzer
Feb 06 at 04:18 PM
1

Hi Theresa,

It also works when you decide the path during the initiation of the request. Compare the roles owners and the manager and if the same, route to a different path. You can either use the existing rules that exist, or you build custom functions. In BRFPlus you might have to use a DB Lookup for GRACROLEAPPRVR table, as well as a function call to the HR system or table GRACUSER (if MANAGER_ID is synced).

Hope that helps.

Regards, Alessandro

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Alessandro,

It sure helps. Would you have a link for reference material on how to use function call in BRFPlus, please? I found for DB Lookup.

Thanks.

0

Hi Theresa,

I guess DB lookup should be fine. Manager is stored in table GRACUSER in field MANAGER_ID. Check if information is present and then that's a simple solution.

In case it's not, you have to define a user detail data source and run an user sync.

The standard function module that is used in MSMP (GRAC_MSMP_MANAGER_AGENT) also retrieves the manager from GRACUSER. Check also method CL_GRAC_API_ACCESS_REQUEST-GET_MANAGER_INFO.

Hope that helps.

Regards, Alessandro

0