Page 1 of 1

Get Lead from SugarCRM

Posted: Sat Sep 19, 2015 6:18 am
by baker22
I have been trying to get lead form SugarCRM using the SugarCRM provided in Processmaker.
A trigger has been created and the code is as below:

@@returnlead = GetSugarLeads("http://abcd.com/crm/soap.php?wsdl", @@user, @@password, "leads.first_name=='adam'", "name", "Email", "10", "array");

I want to fetch the Email of the Lead and want to use it further.

When i assign this @@returnlead Variable to a text Box in dynaform (i just wanted to see the e-mail that it gets or not), it shows --> [object Object]

QUESTION] How could i get the E-mail of lead from sugar and display it in a dynaform textBox.