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.