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. 4 | System Properties in IBM Maximo

Watch Steven Shull walk through practical IBM Maximo system properties that can improve usability, query behavior, attachment handling, and the overall Maximo user experience.

MORE by Naviam Episode 4 cover
Watch Episode 4
Also available: Ep. 3 | Work Order Role-Based Application