Use Email Interaction Setup to Change Status

Below are the steps to setup Email Interaction:
1. Create a new record in the Email Interaction Setup application:

For example, call the new configuration MFWO


Setup Object Status Change configurations:

Case 1: If the work order status is APPR , mobile user can reply with 1 to set status to INPRG or 2 to set status to COMP




Case 2: If the work order status is INPRG, mobile user can reply with 1 to set status to COMP or 2 to set status to CLOSE:



Attach a communication template (MFMAILSENDWO) to send to the owner of the work order (WOWNER):



2. Setup email listener:

Create a email listener address mx4mail:



Go to select action menu, select security settings.
Add a row for workorder object:



Tick the Active checkbox and save the record:


3. Create an Escalation:

Create an escalation called MFMAILSENDWOM with the condition below:

exists (select 1 from mfmailst where mboname='WORKORDER' and origin=1 and workorder.status=status) and parent is null and owner is not null




Attach an out of the box action to send email for the work order:



Below is the definition of the MFMAILSENDWOM action from Actions application:




Steps to test Email Interaction:
1. Create a new work order 1273.
2. Click Set Owner icon on the toolbar. Assign the work order to Wilson:


3. Approve the work order:



4. Email arrives in Wilson's inbox:



5. Wilson reply with 2 to complete the work order:




6. Wait 1 minute. Wilson receives another email that says work order 1273 has been changed to complete status:





7. Log in to Maximo to confirm that work order 1273 has been changed to complete:

Popular posts from this blog

Jython Script Examples

Skip fields during duplication