Share ideas, ask questions, and get feedback about developing for ProcessMaker

Moderator: amosbatto

Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
By seekianshim
Hi Sir/Madam,

I'm using ProcessMaker Community version and LDAP feature there.
I'm quite happy with the LDAP feature, just wonder is it possible I'm able to code and made the LDAP auto sync with ProcessMaker Database?

I'm understood about ProcessMaker Enterprise version already got this feature up, I'm looking to have another alternative solution if possible.

User avatar
By amosbatto
There is no easy way to do this. What you can do is write a script which uses PHP's ldap library to query your LDAP source and then directly query your PM database to see if the users have changed. If they have changed, then use the PM WSDL Web Services to add the user. Set the script to run as a cron job in Linux/UNIX or a Scheduled Task in Windows.
User avatar
By amosbatto
The Enterprise Edition of ProcessMaker offers Advanced LDAP which can do auto-sync and import groups and departments.

If you want to develop it yourself for the Community Edition, see: ... User.28.29 ... List.28.29
User avatar
By amosbatto
Glad to hear that you got it working. If you want to share your code with others, email it to me at [email protected] and I will post it at: ... ster/tree/

(We are going to create a new community wiki for PM, but for now we are storing code examples there to be included in the wiki.)
LDAP Connection problems

Are you sure that you don't have a firewall in you[…]

Grid dropdown

If you have a grid which contains the following fi[…]

Timezone issue

You have to use PHP in triggers. See: https://stac[…]

Your Dynaform won't work, because you are letting […]