SharePoint Designer 2013 call HTTP web service: DELETE workflow not working

KMillner 21 Reputation points

I'm not sure that this is the right place for this question, but here goes. I am trying to create a SharePoint 2013 workflow through SharePoint Designer that will delete a Calendar item based on 2 parameters (Title and Category) once a new item is created where Category='Returned'. I've started the workflow with a conditional statement of: If Current Item:Category equals Returned.

Then I'm using the Call HTTP web service action and I have my dictionary built with 2 variables (accept = application/json;odata=verbose and content-type = application/json;odata=verbose) and the URL lookup listed as the string:
[%Workflow Context:Current Site URL%]_api/web/lists/getbytitle('[%Workflow Context:List Name%]')items?$select=Title('[%Current Item:Title%]'),Category('Due Back') The HTTP method is set to DELETE.

I think my coding in the lookup string is wrong somehow, but I'm not a coder, so I'm not sure where I'm going wrong. I am very new to SharePoint Designer so any help is appreciated. Thanks.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,336 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leon Laude 85,716 Reputation points


    SharePoint is currently not supported in the Q&A forums, the supported products are listed over here (more to be added later on).

    You can ask the experts in the dedicated SharePoint forum over here:

    (Please don't forget to accept helpful replies as answer)

    Best regards,

0 additional answers

Sort by: Most helpful