Automic Workload Automation

 View Only
Expand all | Collapse all

Automatic line appended in webservice request

  • 1.  Automatic line appended in webservice request

    Posted Oct 05, 2023 02:40 PM

    Dear Experts,

    Is there anyway we can avoid automatic addition of single line in the webservice request ? 



  • 2.  RE: Automatic line appended in webservice request

    Posted Oct 06, 2023 09:51 AM

    The system does not add anything. Is this possibly in a template?



    ------------------------------
    Juergen Lechner
    Managing Consultant
    setis GmbH
    Germany
    ------------------------------



  • 3.  RE: Automatic line appended in webservice request

    Posted Nov 05, 2023 03:22 PM

    we are not using any template. Any other possiblities here ? 

    Kindly guide




  • 4.  RE: Automatic line appended in webservice request

    Posted Nov 10, 2023 03:21 AM

    Not???
    Please check the folder TEMPLATE in client 0.

    Search for JOBS.WEBSERVICEREST.REST.

    Open it and check, if you can find this content.



    ------------------------------
    Juergen Lechner
    Managing Consultant
    setis GmbH
    Germany
    ------------------------------



  • 5.  RE: Automatic line appended in webservice request

    Broadcom Employee
    Posted Nov 13, 2023 03:55 AM

    Hi @Maria Joseph Vimalan,

    when you create a new object then it is always created from a template. If you specify your own templates in UC_OBJECT_TEMPLATE then per default it will use the templates from client 0 as @Juergen Lechner pointed out.

    Regards, Markus




  • 6.  RE: Automatic line appended in webservice request

    Posted Nov 20, 2023 06:38 AM
    Edited by Maria Joseph Vimalan Nov 20, 2023 06:38 AM

    Hello Markus and Jurgen

    Thank you. We found that the webservice file exists but even there when we try to delete the line which gets automatically appended, it is getting added again.

    I'm clueless here on why the lines are getting automatically appended here.

    Before in Client 0

    I just added a text and save it.

    After that in client 0




  • 7.  RE: Automatic line appended in webservice request

    Posted Nov 20, 2023 06:59 AM

    Hi,

    have you checked UC_OBJECT_TEMPLATE? Perhaps someone has copied the template and placed it into that VARA....

    Regards,
    Juergen



    ------------------------------
    Juergen Lechner
    Managing Consultant
    setis GmbH
    Germany
    ------------------------------



  • 8.  RE: Automatic line appended in webservice request

    Posted Nov 20, 2023 11:39 AM

    Hi @Maria Joseph Vimalan

    You mean the blank line (02) is automatically added as soon as you open a newly created job, right?

    I can confirm, that if the template (Client 0000) contains a string in line01, a newly created job automatically contains a blank line (02) in addition to the first line:

    Template (pre-filled in line01 with string "test"):

    Newly created Job in client 1000 (just opend, not modified at all):

    The object you showed us is the Web-Service REST job template. Where have you opend it? was it in client 0000 or in another client ("local client"). If it's located in your local client, this is your actual Web-Service REST job template, not the one in client 0000.

    The REST job seems to be designed that it always adds an additional empty line after reopening it. Deleting the empty line doesn't help, it reapears after reopening the object. I would call this a bug if the empty line causes issues.

    Cheers

    Christoph 



    ------------------------------
    ----------------------------------------------------------------
    Automic AE Consultant and Trainer since 2000
    ----------------------------------------------------------------
    ------------------------------



  • 9.  RE: Automatic line appended in webservice request

    Posted Nov 21, 2023 02:53 AM

    Hello Christoph, Jurgen

    Yes. I opened the job in 0000 as well as in productive client. The issue still exists.  

    I also see the UC_OBJECT_TEMPLATE contains the entry JOBS.WEBSERVICEREST.REST. I removed the template object and also entry in UC_OBJECT_TEMPLATE VARA but still the issue is same.

    Regards

    Vimalan




  • 10.  RE: Automatic line appended in webservice request

    Broadcom Employee
    Posted Nov 21, 2023 02:59 AM

    Hi Vimalan,

    If you believe it's a bug please open a case.

    Thank you!

    Regards, Markus