Searching for an entry to modify
Before you begin
Make sure to create a form named TestSecurityForm, which contains at least the core fields.
To search for an entry to modify
- Make sure you have an incoming mailbox and an outgoing mailbox configured and associated with one another.
- Set Enable Modify Actions to Yes in the AR System Email Mailbox Configuration form for the incoming mailbox.
- Make sure you have a valid security key.
Create a template, for example, TestModify, that includes a Modify action.
You will use this template for the reply email; see the Result Template label in step 6.Server: polycarp
Login:
Password:
Key:
Action:
Modify Form: TestSecurityForm
Request ID: [$$#$$Request ID$$#$$]
!2!:
!8!:Because this template replaces the hard-coded label/value pair (Request ID: 000000000000026) with a variable value (Request ID: $$#$$Request ID$$#$$]), you can construct an email that gives you the flexibility to search for a specific parameter.
- Add the TestModify template to the AR System Email Templates form.
Use your mail client to create an incoming mail. Include a Query action in the body of your email.
For example:Server: polycarp
Login: Demo
Password:
Action: Query
Form: TestSecurityForm
Qualification: 'Request ID' = "000000000000026"
Result Template: TestModifyThis email provides all the information required for the Email Engineto perform the query action, and then to perform the modify action in the TestModify template.
- Send your email to the incoming mailbox.
The Email Enginegenerates a reply (the following figure) to the Query action, by using the template you created in step 4 and specified as the Result Template. You can see that the Request ID value found from the query was substituted in the reply, by using the variable in the template.
The Email Enginealso creates a Modify Key based on the information in the Action, Form, and Request ID and adds it to the email. - Open the reply email and modify the parameters as required. For example, add values in !2! (a different name) and !8! (modifying the short description). Do not change the Action, Form, and Request ID label/value pairs.
Fill in any essential missing parameters—Login, Password (if there is a password), and Key, and send the email reply with the modifications included.
You must reply to the same mailbox as the one from which the email was sent. The Email Engineparses the email and the server modifies the entry. The Email Enginethen sends you a confirmation message, as shown in the following figure. You can perform a search on the form to verify the result.