Maximo Open Forum

 View Only
  • 1.  How to return the response of the inbound Transaction using Script on Publish Channel

    Posted 05-02-2024 08:55

    Hi

    I have an requirement, Present we are using JSON Mapping  for Inbound Transaction. if there is no error then we need to send the JSON response back as " Transaction Success" or if there is a error then need to send the response as "Transaction Error" 

    I have no idea how to achieve this. Could anyone please suggest me how to do this.

    Regards

    Sri


    #Integrations

    ------------------------------
    SAI
    ------------------------------


  • 2.  RE: How to return the response of the inbound Transaction using Script on Publish Channel

    Posted 05-02-2024 12:52

    Based on your description on the requirement, you can implement customize response logic in Enterprise Service user exist java class, or through automation script.



    ------------------------------
    jacky qiu
    Amtrak
    ------------------------------



  • 3.  RE: How to return the response of the inbound Transaction using Script on Publish Channel

    Posted 05-02-2024 15:22

    Hi Jacky,

    I have tried but no luck. If you have any sample logic please let me know



    ------------------------------
    SAI
    ------------------------------



  • 4.  RE: How to return the response of the inbound Transaction using Script on Publish Channel

    Posted 05-02-2024 17:37

    Can you explain what you tried and paste your code here and what's the issue of your code? I might be able to help if I see the detail the information.



    ------------------------------
    jacky qiu
    Amtrak
    ------------------------------