Use the HTTP Delete Method in flow #inSalesforce

Use the HTTP Delete Method in flow #inSalesforce


Append the following to the flow:  https://thesalesforcetutorial.blogspot.com/2023/10/http-callout-patch-method-in-flow.html


Add screen:

display text - Are you sure that you want to delete the record?


Action: Create Http Callout

Name Delete External Service

Same Named Cred


Configure Invocable Action:

Delete Invocable Action, Method - DELETE

URL:/objects/{postId} ~id of the object you want to delete

Give the sample response as in visual and review


Action Element Details:

Delete Action Element

Add value of postId - output from http post action element.Id


Screen:

display text - deleteMsg

Delete Action Element.message


Save the flow and debug

Comments