SharePoint Workflow doesn't work. (Call HTTP Web Service) Sie haben diesen Thread abonniert. System.ApplicationException HTTP 500

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/222567

문제

I have following problem with my workflow:

The workflow should get every entry from the list which has the same user as the actual column.

But when I publish the workflow suspends and I get the error message "HTTP 500".

For the dictionary I use:

Accept

Content-Type

(application/json;odata=verbose)

Here are some Screenshots:

Workflow definition image

Workflow error image

enter image description here

enter image description here

When I log the Service-URL to the WF

도움이 되었습니까?

해결책 2

I solved my Problem! The reason was the "log Results:". After i deleted this line it worked fine.

Thanks for your help!

BR Manuel

다른 팁

I believe your problem is in the web service call URL, can you test that directly in the browser?

Looking at a custom list in SharePoint here I can see that the custom columns of the User type (People Picker) fields show as "UserId" only and not as an expandable field as you have it in your query string, so perhaps your URL should look like:

/_api/web/lists/GetByTitle('list name')/items?$select=[select fields]&$filter=UserId eq '[id]'

Either way if you test your url with a valid SP User ID in any browser you should get the expected response.

Finally you can also check the variables you are passing, ensure that [%Current Item:User%] is definitely just the SP User Id (e.g. an int like 10).

Hope that helps, Martin

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top