CA Service Management

Expand all | Collapse all

regarding Fields not getting updated in maileater

  • 1.  regarding Fields not getting updated in maileater

    Posted May 03, 2018 05:35 AM

    hi, 

     I am facing issue  as "AHD58041:Invalid Input (%ASSETTAG=L-9605). Input will be ignored ",. Also i checked the parameter in  NX_ROOT\site\text_api.cfg: folder, thereby %ASSETTAG parameter is present. Now the ticket is getting created but value in asset tag is not getting inserted.

     

    Please suggest.



  • 2.  Re: regarding Fields not getting updated in maileater

    Posted May 03, 2018 06:44 AM

    Is ASSETTAG an attribute on the ticket ? I can't find its definition on an OOB text_api.cfg file - how did you add it ?



  • 3.  Re: regarding Fields not getting updated in maileater

    Posted May 03, 2018 08:22 AM

    yes, there is column in chg table named as zAsset_tag, as checked value for asset is get inserted for change order but in case of incident value for asset is showing as null. I have checked the parameters under KEYWORDS section under text_api.cfg it is all correct.

    then why it is working for change order and not for incident?



  • 4.  Re: regarding Fields not getting updated in maileater

    Posted May 03, 2018 08:25 AM

    HI Cristi,

     

    can you pls tell me, the procedure for adding customized keywords under text_api.cfg or modifying this file?

    if there any services needs to be restart?



  • 5.  Re: regarding Fields not getting updated in maileater

    Posted May 03, 2018 08:28 AM

    You probably don't have the same field for Incident as for Change (zAsset_tag). The procedure to add new fields for the Text API is documented at CA SDM Text API Interface - CA Service Management - 14.1 - CA Technologies Documentation.



  • 6.  Re: regarding Fields not getting updated in maileater

    Posted May 03, 2018 08:51 AM

    I have cross-checked for the asset tag name, it correct actually as per wsp.



  • 7.  Re: regarding Fields not getting updated in maileater

    Posted May 03, 2018 08:56 AM

    Post your schema info (obtained via bop_sinfo -d cr | findstr /i asset) and your config fragment from text_api.cfg. Any errors logged in the stdlog files ?



  • 8.  Re: regarding Fields not getting updated in maileater

    Posted May 03, 2018 09:18 AM

    Std logs for your ref.

     

    05/03 17:45:48.44 HJISDEVAPP bop_cmd 8400 SIGNIFICANT bop_cmd.c 381 Starting function status() from frg file
    05/03 17:45:48.60 HJISDEVAPP bop_cmd 8400 SIGNIFICANT vdbinfo.frg 11 VDBINFO invoked at 05/03/2018 17:45:48
    05/03 17:45:48.63 HJISDEVAPP bop_cmd 8400 SIGNIFICANT vdbinfo.frg 40 VDBINFO completed at 05/03/2018 17:45:48
    05/03 17:45:49.00 HJISDEVAPP spelsrvr 10012 SIGNIFICANT cr_chg_text_api.spl 1388 AHD58021:Successfully Created Request Req #439647. AHD58041:Invalid Input (%ASSETTAG=L-2351). Input will be ignored. Click on the following URL to view Request: http://HJISDEVAPP/CAisd/pdmweb.exe?OP=SEARCH+FACTORY=cr+SKIPLIST=1+QBE.EQ.id=841768 Original Input: %TYPE=I %FROM_USERID=sushmau %CUSTOMER=sushmau %CATEGORY=Network.Very slow %SUMMARY= Test11. %DESCRIPTION=Test11. %ASSETTAG=L-2351 %ATTACHMENT={{481DEF44814F8949BD877F68A846C62E_POP645AEAFD7402316_174.eml}}Email_Thu_May_03_17_45_48_2018.eml %RELPATH={{rep_folder_00003}}rep_folder_00003 %DOCREP={{Service Desk}}doc_rep:1002 %FROM_EMAIL=Sushma.Udhan@kpit.com
    05/03 17:45:49.02 HJISDEVAPP spelsrvr 10012 ERROR auto_events.spl 109 AHD05403:Event not found for code Auto Request Event 1 (cr:841768)
    05/03 17:46:09.03 HJISDEVAPP spelsrvr 10012 ERROR interp.c 574 __eval__ Code error at line 1 at "/" (syntax error) Code error at line 1 at "(" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "priority" (syntax error)
    05/03 17:46:09.03 HJISDEVAPP spelsrvr 10012 ERROR macro.spl 538 __eval__ Code error at line 1 at "/" (syntax error) Code error at line 1 at "(" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "priority" (syntax error)
    05/03 17:46:09.05 HJISDEVAPP animator_nxd 2072 ERROR animator_nxd.c 2723 Method 2 failed for event Set default Priority in animator ANI:60019260 (cr:841768) for atev:10929319
    05/03 17:46:58.97 HJISDEVAPP web:local 6916 SIGNIFICANT bpobject.c 2587 Stats: imp(0) lcl(196) rmt(18,66) rmtref(10,1) dbchg(0)
    05/03 17:47:19.80 HJISDEVAPP spelsrvr 10012 SIGNIFICANT cr_chg_text_api.spl 1388 AHD58021:Successfully Created Request Req #439648. AHD58041:Invalid Input (%ASSETTAG=L-23514). Input will be ignored. Click on the following URL to view Request: http://HJISDEVAPP/CAisd/pdmweb.exe?OP=SEARCH+FACTORY=cr+SKIPLIST=1+QBE.EQ.id=841769 Original Input: %TYPE=I %FROM_USERID=sushmau %CUSTOMER=sushmau %CATEGORY=Network.Very slow %SUMMARY= Test11. %DESCRIPTION=Test11. %ASSETTAG=L-23514 %ATTACHMENT={{96BD962538C1864EAA49F570CC0E0BF0_POP645AEAFDCF02316_175.eml}}Email_Thu_May_03_17_47_19_2018.eml %RELPATH={{rep_folder_00003}}rep_folder_00003 %DOCREP={{Service Desk}}doc_rep:1002 %FROM_EMAIL=Sushma.Udhan@kpit.com
    05/03 17:47:19.82 HJISDEVAPP spelsrvr 10012 ERROR auto_events.spl 109 AHD05403:Event not found for code Auto Request Event 1 (cr:841769)
    05/03 17:47:39.04 HJISDEVAPP spelsrvr 10012 ERROR interp.c 574 __eval__ Code error at line 1 at "/" (syntax error) Code error at line 1 at "(" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "priority" (syntax error)
    05/03 17:47:39.04 HJISDEVAPP spelsrvr 10012 ERROR macro.spl 538 __eval__ Code error at line 1 at "/" (syntax error) Code error at line 1 at "(" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "/" (syntax error) Code error at line 1 at "priority" (syntax error)
    05/03 17:47:39.06 HJISDEVAPP animator_nxd 2072 ERROR animator_nxd.c 2723 Method 2 failed for event Set default Priority in animator ANI:60019264 (cr:841769) for atev:10929322



  • 9.  Re: regarding Fields not getting updated in maileater

    Posted May 04, 2018 04:07 AM

    is there any specific format to add keywords in text_api.cfg, because as given in this file,  I have added this file under %NX_ROOT%\site\mods\text_api.cfg. and added customized parameter to this file.

    but still it is not working.

    INCIDENT.ZSITE=zSite1.INTEGER added parameter in text_api.cfg,

    i am passing in mail as 

    %ZSITE=Pune - Hinjawadi



  • 10.  Re: regarding Fields not getting updated in maileater

    Posted May 04, 2018 04:58 AM

    The format is described in the docs, but I think you have a mis-configuratio here:

    1. You're declaring ZSITE as an Integer type attribute

    2. In the email you're sending ZSITE as String.



  • 11.  Re: regarding Fields not getting updated in maileater

    Posted May 04, 2018 05:29 AM

    also tried using value as integer in email, still no luck



  • 12.  Re: regarding Fields not getting updated in maileater

    Broadcom Employee
    Posted May 04, 2018 09:46 AM

    can you post the text_api.cfg file and the output of

    bop_sinfo -d cr|findstr "zSite1"

    ?



  • 13.  Re: regarding Fields not getting updated in maileater
    Best Answer

    Posted Jun 25, 2018 08:11 AM

    if you want to be able to provide something else that the REL_ATTR in maileater like the symbol or other, you will need to create your own lookup function to be used  in the text_api.

    /J



  • 14.  Re: regarding Fields not getting updated in maileater

    Posted Jan 21, 2019 03:43 PM

    Any idea how to create my own lookup function?

    I'm stuck here