Current Enterprise Trial Application
High Level Overview of the Components & Architecture
The following components are used within the eTrial.
- The ProcessMaker drupal website (www.processmaker.com)
- 2 custom plugins
- A process built in 2.x in the eTrial server
- The license server
- Intercom (documentation for the Intercom plugin can be found here: Intercom)
High Level Flow of Communication Between Components
The ProcessMaker website is where the user signs up for an eTrial. They fill in their information and then an ajax call is made from the web page they are on to a backend php script on the drupal site. This backend php script then makes a call to a custom plugin endpoint in the extendedEndPoints plugin (not a rest endpoint, but one through the services folder).
There is a polling mechanism happening through the ajax calls which populates a progress bar so that the end user knows how far they are into the creation process of their workspace.
The plugin then calls a serious of plugin scripts/classes as well as a process that was developed in ProcessMaker version 2.x. The process then calls the plugin again and sends out emails through the process.
Through this, there is a second plugin that is called, pmLicSrv. This plugins purpose is to create a license in the license server and create the workspace.
The custom plugins also call acton to create a lead in acton through actons api as well as intercom to create a user in intercom.
Once the workspace is created successfully, an email is sent to the end user with their credentials (temp, one time password, which they are prompted to change upon login). A copy of this email is sent to pre sales so that we have the knowledge and information to be able to assist them with any inquiries the user should have.