webrun not updating data

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
George Graham
Veteran Member
Posts: 201
Veteran Member
    Have a webrun node to remove items from User Task Category. If I execute the entire url in iexplorer it works fine and the data is removed:

    /bpm/views/userCategoryViewForm.do?bpmViewMode=0&header.id=lxh031&header.task=PLevel1&detailCmd%5B0%5D=detailDelete&detail%5B0%5D.workCategory=Req+Loc&detail%5B0%5D.workCategoryValue=10270&method=Process

    But in a webrun the flow runs - and the webrun node returns a success - but the data is note removed. All other BPM type webruns work fine. I know that bpm/views/userCategoryViewForm.do is not one of the "standard" forms - and it has detail lines - but my assumption would be that if it runs as a full url then calling the web program and adding the remainder as my post string should work.

    Is this not the case?
    Arvin Ojales
    Advanced Member
    Posts: 24
    Advanced Member
      The URL is using HTML form to pass the parameters to update the data, I'm not sure why it isn't updating using the webrun node (probably web security because it is POSTING a form), but you can try using the SQL Node to delete the record, the file is in LOGAN and is called WFUSERCAT, there are related files, WFUSERTASK and WFUSRPROFL but the WFUSERCAT is the lowest level meaning you can delete WFUSERCAT without any problem but you CANNOT add WFUSERCAT without adding WFUSERPROFL and WFUSERTASK first. I suggest you try and test this first in your development or test server. Hope this helps.

      Arvin Ojales
      George Graham
      Veteran Member
      Posts: 201
      Veteran Member
        Actually was able to figure this out. You can use the xml version of the form to do adds and deletes from detail lines using the variable names. I used the form bpm/xml/userCategoryForm.do and a post string of ?method=Delete&id=lxh031&task=PLevel1&workCategory=Req+Loc&workCategoryValue=24112&_OUT=XML&_EOT=TRUE.

        This does delete and add lines successfully.