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 323cb68 commit 848bfddCopy full SHA for 848bfdd
articles/communication-services/how-tos/router-sdk/scheduled-jobs.md
@@ -152,10 +152,10 @@ if (eventGridEvent.EventType == "Microsoft.Communication.RouterJobWaitingForActi
152
{
153
// Perform required actions here
154
155
- client.updateJob(eventGridEvent.getData().toObject(new TypeReference<Map<String, Object>>() {
+ job = 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);
+ .setPriority(100)), null).toObject(RouterJob.class);
159
}
160
```
161
0 commit comments