AppWorx, Dollar Universe and Sysload Community

 View Only

Change URL target in a Uproc

  • 1.  Change URL target in a Uproc

    Posted Jan 27, 2020 07:59 AM
    ​$U version 6.9 Windows 2012 R2

    Have a REST endpoint defined in the $U Web Manager and have a uproc associated with this endpoint.  Wanting to updated cloning of the uproc to a new environment with the new Uprocs pointing to a different REST endpoint. 

    URL1 = TEST_ENDPOINT1
    URL2 = TEST_ENDPOINT2

    Uproc1 = UprocA  (REST type associated with URL1)

    Have duplicated UprocA as UprocB and now just need to update the REST endpoint to use URL2 as everything else in the uproc definition is the same.
    Tried the commands below but just getting errors.  Is there a command that will allow the URL target of a Uproc to be updated? It can be seen in he definition of a uproc with a uxshw command as the urlid entry under the rest section

    uxupd upr exp upr=UprocB REST ULID=URL2
    uxupd upr exp upr=UprocB REST UPD ULID=URL2