URGENT - Delegation (ROLE_REASSIGN)
Sunday, April 16, 2017 at 08:54pmHi,
In the JSON retrieved for a Package is there a way to figure out Who (Role/Email) has delegated to Who (Role/Email).
After delegation we get the ROLE_REASSIGN event.
{
    "@class": "com.silanis.esl.packages.event.ESLRoleReassignEvent",
    "sessionUser": "4f124151-9ab9-4956-bf8b-c67454f2b63d",
    "packageId": "u4aKSxuKuDbI3JtPm1mAjsvYSIc=",
    "newRoleId": "2bb31fae-fe60-4200-a469-3e71e0c9f81e",
    "message": null,
    "name": "ROLE_REASSIGN",
    "documentId": null
}
I know we get the link the old Role to the new Role. But unfortunately we do not store it.
When the new role signs, we get the DOCUMENT_SIGNED event. Here I get the sessionUser of the new Role.
{
    "@class": "com.silanis.esl.packages.event.ESLProcessEvent",
    "name": "DOCUMENT_SIGNED",
    "sessionUser": "1a9ced99-d712-42af-97df-5a19f0ed05ff",
    "packageId": "u4aKSxuKuDbI3JtPm1mAjsvYSIc=",
    "message": null,
    "documentId": "DOCUMENT_ICMContract"
}
We do get reassign: true on the new Role.
Here is there a way to figure out who (email) delegated to this Role.
If this does not workout I will have to modify the JSON after the ROLE_REASSIGN event.
Which field on the new Role can be used to hold the  ID of the old Role.
Thanks,
Abhijit
      
                                    
Reply to: URGENT - Delegation (ROLE_REASSIGN)
Tuesday, April 18, 2017 at 05:28amReply to: URGENT - Delegation (ROLE_REASSIGN)
Sunday, April 16, 2017 at 09:42pmReply to: URGENT - Delegation (ROLE_REASSIGN)
Monday, April 17, 2017 at 09:19amReply to: URGENT - Delegation (ROLE_REASSIGN)
Tuesday, April 18, 2017 at 03:27amReply to: URGENT - Delegation (ROLE_REASSIGN)
Tuesday, April 18, 2017 at 07:57pm