cadence-java-client icon indicating copy to clipboard operation
cadence-java-client copied to clipboard

Identity attribute for sticky decisions is corrupted

Open samarabbas opened this issue 6 years ago • 0 comments

Looks like we override the identity of the worker with sticky tasklist name:

{
        "eventId": 25,
        "timestamp": 1575553281363480200,
        "eventType": "DecisionTaskScheduled",
        "version": -24,
        "taskId": 6291514,
        "decisionTaskScheduledEventAttributes": {
            "taskList": {
                "name": "Scotts-iMac.local:5792bec8-cc01-4210-9389-a8658aa598a9"
            },
            "startToCloseTimeoutSeconds": 10,
            "attempt": 0
        }
    },
    {
        "eventId": 26,
        "timestamp": 1575553281382301300,
        "eventType": "DecisionTaskStarted",
        "version": -24,
        "taskId": 6291519,
        "decisionTaskStartedEventAttributes": {
            "scheduledEventId": 25,
            "identity": "5792bec8-cc01-4210-9389-a8658aa598a9",
            "requestId": "2149afe6-c2f8-4397-9393-22f60a0e0843"
        }
    },
    {
        "eventId": 27,
        "timestamp": 1575553281435849700,
        "eventType": "DecisionTaskCompleted",
        "version": -24,
        "taskId": 6291523,
        "decisionTaskCompletedEventAttributes": {
            "scheduledEventId": 25,
            "startedEventId": 26,
            "identity": "[email protected]"
        }
    },

samarabbas avatar Dec 05 '19 20:12 samarabbas