Skip to content

GetOrchestrationStateAsync does not populate ParentInstance (StorageAccount provider) #618

Description

Getting the state of a sub orchestration using GetOrchestrationStateAsync, the resulting OrchestrationState.ParentInstance is null.

However, if I request the history using GetOrchestrationHistoryAsync, the parent instance is populated correctly:

{
"EventType": 12,
"EventId": -1,
"IsPlayed": false,
"Timestamp": "2021-10-01T02:46:41.3972531Z"
},
{
"OrchestrationInstance": {
"InstanceId": "30aebd816f1f4755b0710229bda170ed:5",
"ExecutionId": "9fde139382dc4d8280d14916692b8870"
},
"EventType": 0,
"ParentInstance": {
"Name": "DeploymentOrchestration",
"OrchestrationInstance": {
"InstanceId": "cd8af473-fcb4-4e25-99c4-5cc75c64aeb1",
"ExecutionId": "30aebd816f1f4755b0710229bda170ed"
},
"TaskScheduleId": 5,
"Version": "1"
}

My persistent store is StorageAccount.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions