I can not work out why this URL will not open. Please help. This is urgent.
if(Convert_to_Trial_Booking == "Convert this record to a Trial Booking - then archive this record")
{
insert into Book_a_Trial
[
Added_User=zoho.loginuser
Age_at_31st_Dec=input.Age_at_31st_Dec
Booking_Fee=10
Contact_Email=input.Contact_Email
Contact_First_Name=input.Contact_Name.first_name1
Contact_Name=input.Contact_Name
Contact_Phone=input.Contact_Phone
Contact_Relationship=input.Contact_Relationship
Current_Age=input.Current_Age
How_did_you_hear_about_us=input.How_did_you_hear_about_us
Please_select_the_type_of_class_that_you_would_like_to_book="Tiny Tumblers"
Select_your_preferred_date_for_the_trial=zoho.currentdate
Trial_Athlete_DOB=input.Trial_Athlete_DOBenq
Trial_Athlete_Gender=input.Trial_Athlete_Gender
Trial_Athlete_Name.first_name=input.Trial_Athlete_NameENQ.first_name
Trial_Athlete_Name.last_name=input.Trial_Athlete_NameENQ.last_name
Trial_Athlete_Name_for_SMS=input.Trial_Athlete_NameENQ.first_name
]
recordToEdit = Book_a_Trial[Trial_Athlete_Name.first_name = input.Trial_Athlete_NameENQ.first_name && Trial_Athlete_Name.last_name = input.Trial_Athlete_NameENQ.last_name && Trial_Athlete_DOB = input.Trial_Athlete_DOBenq];
openUrl("#Report:Upcoming_Trials/" + recordToEdit.ID + "/" ,"same window");
}
Error message:
I get the same error message (but is says try adding a forward slash) when I remove the last "/" and change the url code to:
The workflow works when I remove the requirement of opening the exact record that I want to edit and change the open url code to:
So everything else in the workflow is working it just won't open the exact record when I pass the ID into the code.