Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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.,

Configuration can be set for each workflow, depending on whether it should be triggered for manual assignment or automatic.

For the other assignment types like delegation and nested can currently no workflow be configured.

Approval

Will trigger one or more workflows during the evaluation of an approval for an assignment and can be used to implement an approval workflow that could not be handled with the approval groups.

The logic for the approval groups is not replaced, so the workflow will be executed and the configured approval groups will be evaluated as well.

Available from version

9.1

Workflow Type Name (Id)

Approval,45

Configured on

Role / Role Type

Description

Trigger an approval process for a role assignment.

Data structure

"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

"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

{
  "Approved": true
}

OUTPUT C# class name

WorkflowApprovalDefaultOutput

  • No labels