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. 8 | Going Beyond Manage with Steve Hauptman

Watch Steven Shull and Steve Hauptman discuss how Maximo teams can go beyond Manage in MAS, including Health, Monitor, Predict, AI, Scheduler, Mobile, HSE, Collaborate, and MBI.

MORE by Naviam Episode 8 cover
Watch Episode 8
Also available: Ep. 7 | Maximo UI Modernization with Jordan Smith