Setting up an email listener for event creation
To configure an email listener in an implementation layer to initiate an event through email, complete the following steps.
Create an email account.
Click Email Account., then click
Save as the PegaPS-Work-ICM email account in the implementation layer, for example, PegaPS-ICMImpl-Work-ICM.
Update the email address in the sender section and receiver section as necessary.
Save as the ICMImplEventListener operator and change the access group to the administrator access group of the implementation application.
Configure the email listener.
Click Email Listener., then click
Save as the ICMEventEmailListener listener to the implementation layer, for example, ICMImplEventEmailListener.
In the email account section of the listener, update it to use the email account that was created earlier, which in this example, is PegaPS-ICMImpl-Work-ICM.
Save as the service package (EmailApproval) and change the access group to the administrator access group of the implementation application.
Update the service package in the Listener properties section of the email listener.
Update the service class to the Event initiate class of the implementation application, for example, PegaPS-ICMImpl-Work-Event-Initiate.
Save as the service method CreatepyStartCase in the email listener to the implementation layer ruleset. Change the primary page class to the implementation layer's request access class, for example, PegaPS-ICMImpl-Work-Event-Initiate.
Update the requestor login section of email listener with the operator that you created earlier.
Save the email listener.
Add the email listener.
Open Admin Studio.
Click Resources, then click Listeners.
In the Start/restart listener menu, select the listener that was created in the previous step and click Apply.
Refresh the Active listeners section.
Result: The listener displays in the list. Previous topic Customizing the response message Next topic Extending the PGP configurator