Introduction
These workflows can be configured for a role or all roles of a role type and will be executed for the approval of a role assignment.,
...
Available from version | 9.1 |
Workflow Type Name (Id) | Approval,45 |
Configured on | Role / Role Type (servicedmcore_role_type_workflow , servicedmcore_role_workflow ) |
Description | Trigger an approval process for a role assignment. |
Data structure | Code Block |
---|
"Data": {
"AssignmentType": Enum AssignmentTypes,
"AssignmentContexts": AssignmentContext[]
"RecipientCoreIdentityId": uint,
"RecipientCoreIdentityDisplayName":string,
"ValidFromUtc": DateTime in UTC,
"ValidToUtc": DateTime? in UTC,
"AssignmentReason": string,
"ApprovalEntityId": uint,
"ApprovalEntityDisplayName": string,
"ApprovalEntityType": ApprovalEntityType,
"Id": uint,
"DisplayName": string,
"TypeName": "iTsense.Moving.Backend.Services.DmcoreService.Adapters.NHibernate.Servicedmcore.RoleAssignment"
} |
|
Example | Code Block |
---|
"Data": {
"AssignmentType": 2,
"AssignmentContexts": [
{
"ContextType": 2,
"ObjectIdentifier": "1871"
},
{
"ContextType": 3,
"ObjectIdentifier": "2"
}
],
"RecipientCoreIdentityId": 692,
"RecipientCoreIdentityDisplayName": " Adrian Chan (00014998)",
"ValidFromUtc": "2024-08-07T09:17:00Z",
"ValidToUtc": null,
"AssignmentReason": "The reason",
"ApprovalEntityId": 30,
"ApprovalEntityDisplayName": "Assign Adobe Products",
"ApprovalEntityType": 1,
"Id": 10584,
"DisplayName": "Id: 10584 Role: Assign Adobe Products, CoreIdentity: Adrian Chan (00014998)",
"TypeName": "iTsense.Moving.Backend.Services.DmcoreService.Adapters.NHibernate.Servicedmcore.RoleAssignment"
} |
|
C# class name | WorkflowAssignmentApprovalInput
|
OUTPUT | The workflow has to return if the assignment was accepted or not. |
OUTPUT Data structure | Code Block |
---|
{
"Approved": true
} |
|
OUTPUT C# class name | WorkflowApprovalDefaultOutput
|
...