Maximo Open Forum

 View Only

How can make a condition in json mapping with the value of json field

  • 1.  How can make a condition in json mapping with the value of json field

    Posted 05-18-2024 16:46
    Edited by Christopher Winston 11-19-2024 13:18

    I have a json mapping like this

    {
    "assetnum": "attr$ASSETNUM",
    "location": "attr$LOCATION",
    "myvalue": "LONDON",
    "myvaluetest": "helloworld",
    }
     
    In myvalue i have contion
    attr$LOCATION == "LONDON" "MYVALUE1234"
    attr$LOCATION == "DUBLIN" "MYVALUE999"
    I want to put a condition in myvaluetest looking for the myvalue data something like (how can i referrer to myvalue field)
    myvalue == "MYVALUE1234" "helloWorld"
    myvalue == "MYVALUE999" "TestHello"


    #Integrations

    ------------------------------
    Iván Emilov
    ------------------------------



Newest Episode
Ep. 3 | Work Order Role-Based Application

Watch Steven Shull explore how Work Order Role-Based Applications in IBM Maximo can simplify work management, improve usability, and help teams focus on the right work order information.

MORE by Naviam Episode 3 cover
Watch Episode 3
Also available: Ep. 2 | Adding a QR Code to a BIRT Report