Escaping Special Character in URL of Connector while Calling API

181 views
Skip to first unread message

sagar....@flowian.com

unread,
Oct 10, 2014, 11:13:42 AM10/10/14
to suppor...@runmyprocess.com
Hi Team,

I am trying to call one connector whose URL contain special character("|"). While working on this I have found that special characters are not working in the url of the connector. So I have replace it with the code "%7C". After that the connector works but I didn't pull the result. So I just want help from RMP expert to sort out this problem.

Here is My URL
https://crm.zoho.com/crm/private/xml/Contacts/getSearchRecords?authtoken=${token}&scope=crmapi&newFormat=1&selectColumns=Contants(All)&searchCondition=(Gender%7C%3D%7CMale)

When I tried to run this URL in the Browser it will work and also I fetch some result but when i tried it in RMP it is failed to fetch result.

Thanks In Advance

Regards,

Sagar

thoshino

unread,
Oct 10, 2014, 12:30:57 PM10/10/14
to suppor...@runmyprocess.com, sagar....@flowian.com
Hi,

Can you try following format for url parameters?

?parameter1=${value1?url}&parameter2=${value2?url}&parameter3=${value3?url}

?url is Freemarker builtin for string, that should take care of the URL encoding.


Also, what exactly is happening when you say, "failed to fetch result"?
Can you share a screenshot?

Best regards,

Taka

sagar....@flowian.com

unread,
Oct 13, 2014, 5:46:18 AM10/13/14
to suppor...@runmyprocess.com, sagar....@flowian.com
Hi Taka,

I have tried your suggestion and it is fine with execution of API call. But In the Internal parameter of the Process instance the result is empty as shown in the Screenshot.

For crosscheck, I have executed the API url in the Web-browser with same condition as in RMP. But I am able to get results in Web-browser.

Don't understood why it was showing empty result in RMP.

Regards,

Sagar

abc.png

Tejas Laddha

unread,
Oct 13, 2014, 7:12:08 AM10/13/14
to sagar....@flowian.com, suppor...@runmyprocess.com
Hi Sagar,

If you want to show result inside P_result, for that you need to set your result in the output variable of your activity.

e.g. output:${P_result}

Let me know if you are still facing an issue.


Thanks and regards,
Tejas


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/878fccf1-4e3d-4e10-9930-25ebfb1afd5d%40runmyprocess.com.

sagar....@flowian.com

unread,
Oct 13, 2014, 7:42:52 AM10/13/14
to suppor...@runmyprocess.com, sagar....@flowian.com
Hi Tejas,

In this case I am not showing result in Web interface. I am just trying to see result in the computed Parameter section of the process instance.

I think If API call is executed successfully then we should see the result in Computed parameter section of the process instance.

Regards,

Sagar

Tejas Laddha

unread,
Oct 13, 2014, 8:00:18 AM10/13/14
to suppor...@runmyprocess.com
Hi,

Could you please send me the screenshot of your process?
Where exactly you are calling your connector i.e. in between the activity or that's the last activity?

Thanks and Regards,
Tejas


Regards,

Sagar

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.

sagar....@flowian.com

unread,
Oct 13, 2014, 8:08:52 AM10/13/14
to suppor...@runmyprocess.com
Here is the Screen shot of the Process.
RMP processscrnsht.png

thoshino

unread,
Oct 13, 2014, 1:24:03 PM10/13/14
to suppor...@runmyprocess.com, sagar....@flowian.com
Hi,

Can you first test the connector itself?

There is a connector test button from Connector definition screen.
Please see attached. 2 screenshots to guide you.

I am curious what results show up here.

Best regards,

Taka
02-connector-test-screen.png
01-connector-definition-screen.png
Reply all
Reply to author
Forward
0 new messages