function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bob 11Bob 11 

Custom flow button link for service appointment

I have created a flow for a service appointments and I am trying to create a custom button with the flow in the url. my link for the flow button is below
/flow/Send_SMS_to_Customer?SAPPId={!ServiceAppointment.Id}retURL=/{!ServiceAppointment.Id}

When i click the button I get An unhandled fault has occurred in this flow

User-added image

This is the Get Record element 

User-added image
 
Best Answer chosen by Bob 11
ryanschierholzryanschierholz
It looks like you're missing an ampersand which idenfifies the additional parameters. try: 
/flow/Send_SMS_to_Customer?SAPPId={!ServiceAppointment.Id}&retURL=/{!ServiceAppointment.Id}

 

All Answers

ryanschierholzryanschierholz
It looks like you're missing an ampersand which idenfifies the additional parameters. try: 
/flow/Send_SMS_to_Customer?SAPPId={!ServiceAppointment.Id}&retURL=/{!ServiceAppointment.Id}

 
This was selected as the best answer
Bob 11Bob 11
Hi Ryan,

Thanks for pointing that out. The button works now.