| RoleApprovalLogResourceApprovalDecision Method |
Creates audit trail decision entries for explicitly approved roles (Role Assignment objects)
Codemethod usage |
The code method is intended to be used in the resource approval processes.
It should be executed both on the "Approve" and "Reject" transition with the "halt on error" flag set to true.
It assumes that the active user is the approver.
It assumes that the RoleApproval references the approved Resource Assignments
and the the requestor field is populated with the user who created the request.
|
---|
Designed to be used in a process only (Yes/No) | Yes |
Action Object (data object type) | Activity |
Namespace:
Omada.OE.Solution.OIM.Assembly
Assembly:
Omada.OE.Solution.OIM.Assembly (in Omada.OE.Solution.OIM.Assembly.dll) Version: 15.0.0.0
Syntaxpublic void LogResourceApprovalDecision(
CodeMethodInvokeContext context,
string approverRole
)
Parameters
- context
- Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
- approverRole
- Type: SystemString
Typical Approver Roles: Manager, SystemOwner, ResourceOwner, SecurityOfficer.
If empty, typically after the one step approval activity, the role is looked up on the resource folder
Return Value
Type:
See Also