I'm working on a Flow to add new Workday user data to other applications (using premium WD connection), and have the data pull for "Get Employee Personal Info" and "Get Employee Employment Info" working properly and pulling in data, as long as I manually provide a worker ID via manual flow trigger. This is convincing me that the connection string is set up properly, as I have validated that the data I'm getting via Flow matches that within Workday.
I'm running into an InternalServerError when I try to use the Workday trigger "When an employee is added or updated", with flow telling me "There's a problem with the flow's trigger" and the flow doesn't make it past the trigger action.
Error details:
{ "error": { "message": "{\r\n \"path\": \"choose\\\\when[1]\",\r\n \"source\": \"choose\",\r\n \"message\": \"Expression evaluation failed. Unexpected character encountered while parsing value: W. Path 'Workers[0].Worker_Data.Worker_ID', line 1, position 92.\\r\\n at Newtonsoft.Json.JsonTextReader.ParseValue()\\r\\n at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r, JsonLoadSettings settings)\\r\\n at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader, JsonLoadSettings options)\\r\\n at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)\\r\\n at Microsoft.WindowsAzure.ApiManagement.Proxy.Gateway.MessageBody.AsJObject(Stream stream, Encoding encoding)\\r\\n at Microsoft.WindowsAzure.ApiManagement.Proxy.Gateway.MessageBody.As[T](Boolean preserveContent)\",\r\n \"reason\": null\r\n}" } }
Does anyone have a functional version of the Workday trigger? Anyone have insight as to why just the trigger would be failing?
I've recreated it a few times, still getting the same issues.
Any other thoughts?
Hi @Anonymous ,
Could you please take a try to create a new flow with th trigger and let me know if the issue still exists?
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.