Getting Tasks by name always results in TaskConnectionStatus of NotActive #17464
Closed
ItsRobbAllen
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi Thanks for reporting this, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are implementing some monitoring code, so I am querying subscriptions to see if the subscription is active or not.
When I use
ongoingTask.TaskConnectionStatus
is alwaysNotActive
.However, if I use the TaskId
ongoingTask.TaskConnectionStatus
shows the actual status.As a stop gap, I'm querying the task by name, getting the id, and requerying by that id.
Am I doing something wrong here?
Beta Was this translation helpful? Give feedback.
All reactions