Thanks you for your reply Cameron very helpful for troubleshooting I have fixed the variables now.
@Marcello Jabur thank you for your reply & yes I have realised that and change it which has fixed the issue.
What we changed
· Trigger
o Topic: v2.users.{id}.activity
o Data format: Json
o Match: routingStatus.status Equals NOT_RESPONDING (no quotes)
o Targeted the latest published workflow
· Workflow
o Added a JSON input named jsonData (Input to flow = ON)
o At the top, parsed fields:
Flow.userId =
ToString(GetJsonObjectProperty(Flow.jsonData, "id"))
Flow.status =
ToString(GetJsonObjectProperty(GetJsonObjectProperty(Flow.jsonData, "routingStatus"), "status"))
Flow.nrStartUtc =
ToString(GetJsonObjectProperty(GetJsonObjectProperty(Flow.jsonData, "routingStatus"), "startTime"))
- (Optional) 1s wait
- Called our Set User Routing Status: Idle action with userId = Flow.userId
- Later, we added a GET /api/v2/users/{id} for the agent name and a data-table update core reset worked even without these.
Everything's working now.Thank you! 🙏