• Pavan Kumar
    January 23, 2020 at 1:05 am #5636

    Hi All,

    I am calling BPM rest api from client script and getting response also but when i assign response data to local variable the updated variable value is not showing in UI.

    for example , updating the name variable with displayname from rest response. but after the client script execution i do not the new value in UI for name variable.

    load: function (data){ console.log(data); temp = JSON.parse(data); console.log(temp); console.log(temp.data.displayName); tw.local.name= temp.data.displayName ; }

    I have tested updating with constant like tw.local.name= “some value” which is working fine expecting the same behaviour for with rest response assignment.

    Kindly let me how to fix this.

    SPARK Support
    January 23, 2020 at 7:03 am #5640

    Hi Pavan,

    If you are updating the value of a bound variable via REST call, and the changes are not being reflected in the UI, then you may have found an issue with the underlying Coach NG framework.  You can test to determine if the bound variable value has changed by getting a handle on a control (such as page.ui.get()) and calling control.context.binding.get(“value”);

    Either way, please report this issue to IBM as a defect under your support agreement, as Salient Process no longer provides defect support for the UI Toolkit.



    Stephen P

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search