on 07-22-2016 6:44 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.