International Gamco chooses HighOrbit BPM
Gaming products company plans to develop custom process for work order fulfillment
Read more...

HighOrbit

Workflow Automation

 
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: URLEncode problem
#334
URLEncode problem 3 Years, 2 Months ago Karma: 0
I tried the URLEncode calculate function, but attached is what is sent in the email...

Any suggestions what I am doing wrong? I have defaulted the shipping email task back to what it was for now.

If it easier for me to call you please let me know and I can explain how I completed this.

Thanks.
File Attachment:
File Name: error_messages.txt
File Size: 952
dwilliams
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#335
Re:URLEncode problem 3 Years, 2 Months ago Karma: 0
David,

It looks like I gave you some partially bad advice. I went in and found the
workflow in which you are trying this and I see why you got the response
below.

I can see what you are trying to do, and I think the only way we can get
this to work correctly is create a series of calculate expressions.. i.e.

encoded_url =

"web.address.com/file.asp?parm1=" + URLEncode(%data1%) + "&parm2="
+ URLEncode(%data2%) + "&parm2=" + URLEncode(%data2%) etc.

Let me know if this makes sense, and we can set up a GotoMeeting if you
need more information.
admin
Moderator
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#336
Re:URLEncode problem 3 Years, 2 Months ago Karma: 0
I have been trying to use the method illustrated below to produce the URL, but keep getting an error:


*com.highorbit.Course.ExpressionSyntaxException: *
*com.highorbit.Course.ExpressionSyntaxException: *
*java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.lang.String*
* *

I am using the following string is there something I am doing wrong?



"
www.pitneybowes.fr/FlammesPublicitaires/...EM&Company_Name=
"+URLEncode(%company_name%)+"&Salutation="+URLEncode(%salutation%)+"&First_Name="+URLEncode(%first_name%)+"&Last_Name="+URLEncode(%last_name%)+"&Job_Title="+URLEncode(%job_title%)+"&email="+URLEncode(%email%)+"&Confirm_Email="+URLEncode(% email_verification%)+"&Address1="+URLEncode(%address1%)+"&Address2="+URLEncode(%address2%)+"&Address3="+URLEncode(%address3%)+"&City="+URLEncode(%City%)+"&Postcode="+URLEncode(%postcode%)+"&Tel="+URLEncode(%tel%)+"&Siret="+URLEncode(%siret%) +"&sap_customer_account_number="+URLEncode(%sap_customer_account_number%)
dwilliams
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#337
Re:URLEncode problem 3 Years, 2 Months ago Karma: 0
Are any of your data elements numeric?

If so, they may need a conversion before being passed into the URLEncode
function.

If so, try URLEncode( "" + %numeric_element% )

i.e. add a set of empty double quotes before the data element.
admin
Moderator
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1

Support Login