Maximo Open Forum

 View Only
Expand all | Collapse all

Why Maximo sending previous MEMO field value to email when routed Manual Input node in workflow ?

  • 1.  Why Maximo sending previous MEMO field value to email when routed Manual Input node in workflow ?

    Posted 2 days ago

    Hi Maximo Experts,

    Requirement: When User Changed SR status from QUEUED to INPROGRESS via workflow MEMO field should be mandatory and send a mail with TICKETID,STATUS and MEMO details to XYZ users. 

    Solution: 1. We copied "Manual Input" dialog from library.xml to SR.xml and made MEMO Mandatory. Its working fine.

                     2. When user route workflow, selected status to INPROGRESS in Manual input node, enters MEMO value then click on OK button, Email is going to XYZ users                         with previous MEMO value which is wrong. 

    Configuration: Created a communication template, and created a relationship between SR and WFASSIGNMENT.

                              1. In communication template we are displaying as :AAWFASSIGNMENT.MEMO

                               2. Relationship is ownertable='SR' and ownerid=:ticketuid and memo is not null and order by transdate fetch first 1 row only

    Problem:  Maximo Current MEMO vale is not sending to email, its sending previous MEMO.

    Kindly provide your valuable inputs so that it will useful for my users and other developers :)


    #Administration
    #Analytics
    #Architecture
    #Assets
    #CivilInfrastructure
    #Customizations
    #EndUser
    #EverythingMaximo
    #HSE/OilandGas
    #Infrastructure
    #Integrations
    #Inventory
    #IoT
    #LifeScience/Calibration
    #Linear
    #MaximoApplicationSuite
    #MaximoForAviation
    #MaximoUserGroups
    #Mobility
    #Nuclear
    #Procurement
    #Reporting
    #Scheduling
    #Security
    #ServiceProvider
    #Spatial
    #Transportation
    #Utilities
    #WorkCenters
    #WorkManagement
    #MaximoVisualInspection
    #Predict
    #Monitor
    #Health
    #Assist
    #Safety

    ------------------------------
    Venkatrao Y
    ------------------------------


  • 2.  RE: Why Maximo sending previous MEMO field value to email when routed Manual Input node in workflow ?

    Posted 3 hours ago

    It's been many years since I dealt with this, but I think you want your communication template on WFASSIGNMENT rather than SR. Then you have the CURRENTMEMO & LASTMEMO options as attributes on the WFASSIGNMENT record. Then you can link back to the SR attributes.

    When you start from SR, you're only going to be able to get what exists in the database for the assignment. That's OK if you send the communication outside of the workflow, but inside the workflow, the communication is sent prior to the record being saved in the database. This leads to you getting the wrong memo.  I'm assuming your relationship you left off the DESC in the order by, otherwise that would be a problem too.



    ------------------------------
    Steven Shull
    Naviam
    ------------------------------