Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Trigger automation script through escalation which will send out list of work order Materials to user/group of users

    Posted Tue May 13, 2025 09:10 AM

    Hello All,

    I have a requirement where I have to send a list of work order materials to certain users when a work order is Cancelled. 

    I was thinking to write an automation script which would be triggered by an escalation and will send a report to the user/groups

    Can anybody help with the example and how to achieve this?

    Thanks in Advance!

    Abhilasha 



    ------------------------------
    Abhilasha Gupta
    ------------------------------


  • 2.  RE: Trigger automation script through escalation which will send out list of work order Materials to user/group of users

    Posted Wed May 14, 2025 04:58 AM

    You can write an automation script on status of WO to CANCELLED. See attached link on how to send email using script.

    https://bportaluri.com/2021/03/send-communication-template-from-script.html



    ------------------------------
    Suhas Joshi
    ------------------------------



  • 3.  RE: Trigger automation script through escalation which will send out list of work order Materials to user/group of users

    Posted Wed May 14, 2025 08:05 AM

    Hi Suhas,

    I am not using communication template as I think it wont support dynamic list of items listed in there 

    So as a workaround I have written a script that triggers when Work Order is cancelled and a mail is sent out that has an excel attached to it and contains the list of Items which are not yet received). It is working as expected. 

    Thanks for the recommendation though!! 

    - Abhilasha 



    ------------------------------
    Abhilasha Gupta
    ------------------------------



  • 4.  RE: Trigger automation script through escalation which will send out list of work order Materials to user/group of users

    Posted Wed May 14, 2025 08:20 AM
    Hi Team,

    Create an escalation with your condition and action to associate your automation script to report customisation and then call the communication template along with group of users in Roles application.

    This will work surely..

    Thanks 

    warm regards:
    Nandisha M S
    +91-98443430