cancel
Showing results for 
Search instead for 
Did you mean: 

Buyoff and Completion by different Users

former_member229176
Participant
0 Kudos

Hello Team,

I have a requirement wherein I need to make sure that the user who performs buyoff should not be able to complete that operation.

Is there anyway we can achieve it with no-SDK & out-of-the-box method?

One way I can think of is to call MII Transaction on completion of the operation. Check who has done buyoff for that SFC. Check who has clicked on Completion button. But how can I prevent the operation from completion by using MII Transaction that I don't know.

Any idea / thoughts / Suggestions?

Regards,

Soham

Accepted Solutions (0)

Answers (1)

Answers (1)

Roman_Freidel
Explorer
0 Kudos

Soham,

You use the CHECK_BUYOFF hook point activity to validate that all buyoffs have been closed before proceeding to the next operation. This activity can be used at any hook point.

So set this as a PRE_COMPLETE hook Point and it should prevent to continue until you approved the Buyoff.

The logging and approval can be done with two different Groups, that's not a Problem.

Roman

former_member229176
Participant
0 Kudos

Hi Roman,

I think I was not clear enough in explaining the issue.

I already have CHECK_BUYOFF hook point attached to operation as below:

Issue is I want to make sure/validate that the user who performs buyoff and the user who completes the operation should be different. Else the user should get a message that operation cannot be completed.

Regards,

Soham

Roman_Freidel
Explorer
0 Kudos

Soham,

I think the easiest way is that you manage it with the Message type &+ User groups

Operator ABCD logs a buyoff. This user is only in the "Operator" Group

Supervisor YXZ should be approve the buyoff. He's in the "Supervisor" Group.

In the Buyoff you have the UserGroups and if you attach a Message_Type you cann assign this message type only to the "Supervisor" Group. So the Operator should not be able to confirm he's own logged buyoff in the message board.

Roman