We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a85374 commit b29846eCopy full SHA for b29846e
articles/communication-services/how-tos/router-sdk/scheduled-jobs.md
@@ -152,7 +152,8 @@ if (eventGridEvent.EventType == "Microsoft.Communication.RouterJobWaitingForActi
152
{
153
// Perform required actions here
154
155
- client.updateJob(eventGridEvent.Data.JobId, BinaryData.fromObject(new RouterJob()
+ client.updateJob(eventGridEvent.getData().toObject(new TypeReference<Map<String, Object>>() {
156
+}).get("JobId").toString(), BinaryData.fromObject(new RouterJob()
157
.setMatchingMode(new QueueAndMatchMode())
158
.setPriority(100)), null);
159
}
0 commit comments